$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< {
< "url": "https://crawlee.dev/js"
< }
< ],
< "globs": [
< {
< "glob": "https://crawlee.dev/js/*/*"
< }
< ],
< "pseudoUrls": [],
< "excludes": [
< {
< "glob": "/**/*.{png,jpg,jpeg,pdf}"
< }
< ],
< "linkSelector": "a",
< "respectRobotsTxtFile": true,
< "initialCookies": [],
< "customHttpHeaders": {},
< "proxyConfiguration": {
< "useApifyProxy": true
< },
< "launcher": "CHROMIUM",
< "waitUntil": "DOM_CONTENT_LOADED",
< "customData": {}
<}
<EOF
$curl "https://api.apify.com/v2/acts/shortc~htmlwasher-beta/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'