$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "beforeJson": "[{\"id\": 0, \"price\": 10, \"rating\": 5, \"title\": \"Product\", \"details\": {\"stock\": 5}}, {\"id\": 1, \"price\": 10, \"rating\": 5, \"title\": \"Product\", \"details\": {\"stock\": 5}}, {\"id\": 2, \"price\": 10, \"rating\": 5, \"title\": \"Product\", \"details\": {\"stock\": 5}}, {\"id\": 3, \"price\": 10, \"rating\": 5, \"title\": \"Product\", \"details\": {\"stock\": 5}}, {\"id\": 4, \"price\": 10, \"rating\": 5, \"title\": \"Product\", \"details\": {\"stock\": 5}}, {\"id\": 5, \"price\": 10, \"rating\": 5, \"title\": \"Product\", \"details\": {\"stock\": 5}}, {\"id\": 6, \"price\": 10, \"rating\": 5, \"title\": \"Product\", \"details\": {\"stock\": 5}}, {\"id\": 7, \"price\": 10, \"rating\": 5, \"title\": \"Product\", \"details\": {\"stock\": 5}}, {\"id\": 8, \"price\": 10, \"rating\": 5, \"title\": \"Product\", \"details\": {\"stock\": 5}}, {\"id\": 9, \"price\": 10, \"rating\": 5, \"title\": \"Product\", \"details\": {\"stock\": 5}}]",
< "afterJson": "[{\"id\": 0, \"price\": \"10\", \"title\": \"\", \"details\": {\"stock\": 5}, \"promo\": true}, {\"id\": 1, \"price\": \"10\", \"title\": \"\", \"details\": {\"stock\": 5}, \"promo\": true}, {\"id\": 2, \"price\": \"10\", \"title\": \"\", \"details\": {\"stock\": 5}, \"promo\": true}, {\"id\": 3, \"price\": \"10\", \"title\": \"\", \"details\": {\"stock\": 5}, \"promo\": true}, {\"id\": 4, \"price\": \"10\", \"title\": \"Product\", \"details\": {\"stock\": 5}, \"promo\": true}, {\"id\": 5, \"price\": \"10\", \"title\": \"Product\", \"details\": {\"stock\": 5}, \"promo\": true}, {\"id\": 6, \"price\": \"10\", \"title\": \"Product\", \"details\": {\"stock\": 5}, \"promo\": true}, {\"id\": 7, \"price\": \"10\", \"title\": \"Product\", \"details\": {\"stock\": 5}, \"promo\": true}, {\"id\": 8, \"price\": \"10\", \"title\": \"Product\", \"details\": {\"stock\": 5}, \"promo\": true}, {\"id\": 9, \"price\": \"10\", \"title\": \"Product\", \"details\": {\"stock\": 5}, \"promo\": true}]"
<}
<EOF
$curl "https://api.apify.com/v2/actors/witforsurprise~json-drift-brief/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'