$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "locations": [
< "London"
< ],
< "treatments": [
< "Haircuts and hairdressing"
< ],
< "urls": [
< "https://www.treatwell.co.uk/places/treatment-haircuts-and-hairdressing/offer-type-local/in-london-uk/",
< "https://www.treatwell.co.uk/places/treatment-haircuts-and-hairdressing/offer-type-local/in-manchester-uk/sort-price-asc/page-2/",
< "https://www.treatwell.co.uk/places/brand-olaplex/in-london-uk/",
< "https://www.treatwell.co.uk/places/chain-live-true-london/",
< "https://www.treatwell.co.uk/place/lili-london/",
< "https://www.treatwell.co.uk/hairdressers-and-hair-salons/"
< ],
< "fetchDetails": true,
< "maxReviews": 20,
< "maxItems": 20,
< "proxy": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": true
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~treatwell-co-uk-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'