$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "search": {
< "query": "Kuala Lumpur",
< "checkIn": "",
< "checkOut": "",
< "adults": 2,
< "children": 0,
< "childAges": "",
< "rooms": 1,
< "limit": 20,
< "offset": 0,
< "propertyType": "any",
< "starRatingMin": "0",
< "reviewScoreMin": "0",
< "cityCenterDistance": "any"
< },
< "property": {
< "propertyId": 87219375,
< "propertyUrl": "",
< "checkIn": "",
< "checkOut": "",
< "adults": 2,
< "children": 0,
< "childAges": "",
< "rooms": 1,
< "enrichPricing": false
< },
< "reviews": {
< "propertyId": 61727253,
< "propertyUrl": "",
< "limit": 20,
< "offset": 0,
< "sortBy": "newest"
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/crawlio~agoda-hotel-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'