$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "search": "black",
< "startUrls": [
< "https://www.forever21.com/collections/mens-activewear",
< "https://www.forever21.com/products/weatherproof-vintage-mens-short-sleeves-polo-sweater-ecru?variant=41418653106210",
< "https://www.forever21.com/search?q=red+skirt&options%5Bprefix%5D=last&type=product"
< ],
< "maxItems": 20,
< "endPage": 1,
< "extendOutputFunction": "($) => { return {} }",
< "customMapFunction": "(object) => { return {...object} }",
< "proxy": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~forever21-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'