Skip to content

Instantly share code, notes, and snippets.

curl 'https://surfweb.development.travel.theculturetrip.com/api/product-search/cart?timestamp=1559573646647' -H 'Accept: application/json, text/plain, */*' -H 'Referer: http://localhost:3000/bookable/ibe/passenger?ci=HTL_20190425_20190428_AUS_EAN575868&fc=HTL_201470116:N:N_RO&ex=&pax=2-0-0-0&childDob=&locale=en&currency=GBP' -H 'Origin: http://localhost:3000' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36' -H 'content-type: application/json' --data-binary $'{\n "excludeOnRequest": true,\n "sortBy": null,\n "sortAscending": true,\n "includeFCResults": true,\n "productCode": "TMD",\n "groupAttrs": [\n {\n "name": "resBookingType",\n "value": "STD"\n },\n {\n "name": "comp",\n "value": "CT"\n },\n {\n "name": "div",\n "value": "CT_LON"\n },\n {\n "name": "brd",\n "value": "CT_OL"\n },\n {\n "name": "dchannel",\n "value": "U"\n },\n {\n
for (i = 0; i < 10; i++) {
}