$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "locations": [
< "Portland, OR"
< ],
< "services": [
< "furniture assembly",
< "tv mounting"
< ],
< "profileInputs": [
< "https://www.taskrabbit.com/api/v3/rabbits/1883135",
< "https://www.taskrabbit.com/api/v3/rabbits/1883135/reviews?page=2",
< "https://www.taskrabbit.com/profile/glenn-w--3",
< "https://www.taskrabbit.com/locations/portland",
< "https://www.taskrabbit.com/locations/portland/lawn-mowing",
< "https://www.taskrabbit.com/locations",
< "https://www.taskrabbit.com/sitemaps/www.taskrabbit.com/geo_marketing_pages.xml.gz"
< ],
< "urls": [
< "https://www.taskrabbit.com/api/v3/rabbits/1883135",
< "https://www.taskrabbit.com/api/v3/rabbits/1883135/reviews?page=2",
< "https://www.taskrabbit.com/profile/glenn-w--3",
< "https://www.taskrabbit.com/locations/portland",
< "https://www.taskrabbit.com/locations/portland/lawn-mowing",
< "https://www.taskrabbit.com/locations",
< "https://www.taskrabbit.com/sitemaps/www.taskrabbit.com/geo_marketing_pages.xml.gz"
< ],
< "maxItems": 20,
< "includeProfiles": true,
< "includeReviews": false,
< "maxReviewsPerTasker": 20,
< "includeCityReviews": false,
< "scrapeServiceInfo": false,
< "maxTaskersPerPage": 6,
< "proxyConfiguration": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "maxNotifyListings": 50
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~taskrabbit-tasker-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'