$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "search": "cucumber",
< "startUrls": [
< "https://www.allrecipes.com/cook/onewholesomemeal",
< "https://www.allrecipes.com/cook/foodwisheswithchefjohn/collection/bookmarks_5e9f2dfb-c75b-8640-f3ff-7897a9ed3897",
< "https://www.allrecipes.com/search/results/?search=cucumber",
< "https://www.allrecipes.com/gallery/butter-rich-recipes/",
< "https://www.allrecipes.com/author/melanie-fincher/",
< "https://www.allrecipes.com/article/how-to-clean-air-fryer/",
< "https://www.allrecipes.com/recipe/261911/chef-johns-croissants/"
< ],
< "maxItems": 20,
< "endPage": 1,
< "extendOutputFunction": "($) => { return {} }",
< "customMapFunction": "(object) => { return {...object} }",
< "proxy": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~allrecipes-advanced-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'