$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "query": "werewolf",
< "startUrls": [
< "https://www.wattpad.com/story/12702726-werewolf-committee",
< "https://www.wattpad.com/story/12702726",
< "https://www.wattpad.com/39056066-werewolf-committee",
< "https://www.wattpad.com/39056066",
< "https://www.wattpad.com/search/werewolf",
< "https://www.wattpad.com/search/werewolf?page=2",
< "https://www.wattpad.com/search/werewolf?filter=complete",
< "https://www.wattpad.com/search/werewolf?language=1",
< "https://www.wattpad.com/stories/werewolf",
< "https://www.wattpad.com/stories/romance",
< "https://www.wattpad.com/stories/werewolf?page=2",
< "https://www.wattpad.com/stories/werewolf?sort=hot",
< "https://www.wattpad.com/user/Wattpad",
< "https://www.wattpad.com/story/12702726-werewolf-committee/parts",
< "https://www.wattpad.com/api/v3/stories/12702726",
< "https://www.wattpad.com/api/v3/stories?query=werewolf&limit=2&offset=2"
< ],
< "proxy": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~wattpad-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'