$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< {
< "url": "https://www.walmart.com/browse/auto-tires/brake-pads/91083_1074765_9038935_4582920"
< },
< {
< "url": "https://www.walmart.com/browse/home/"
< },
< {
< "url": "https://www.walmart.com/search?grid=true&query=Mixed+Bouquets"
< },
< {
< "url": "https://www.walmart.com/ip/Mainstays-Blue-Sunflower-Mix-Bouquet/155345382"
< }
< ],
< "maxItems": 50,
< "endPage": 1,
< "extendOutputFunction": "($) => {\n const result = {};\n // Uncomment to add a title to the output\n // result.title = $('title').text().trim();\n\n return result;\n}",
< "outputFilterFunction": "(object) => ({...object})",
< "proxy": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~walmart-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'