$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrl": "https://crawlee.dev",
< "maxPages": 1,
< "maxDepth": 0,
< "defaultChangefreq": "weekly",
< "sitemapFormat": "xml",
< "splitAtCount": 50000,
< "existingSitemapAction": "merge",
< "crawlerType": "cheerio",
< "maxConcurrency": 1,
< "requestTimeout": 30000,
< "maxRetries": 2,
< "userAgent": "JuniprSitemapBot/1.0",
< "proxyConfiguration": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/junipr~sitemap-generator/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'