$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "origins": [
< "https://squoosh.app/"
< ],
< "requiredIconSizes": [
< "192",
< "512"
< ],
< "requireMaskableIcon": true,
< "requiredScreenshotFormFactors": [
< "narrow",
< "wide"
< ],
< "requiredShortcutCount": 0,
< "allowedDisplayModes": [
< "standalone",
< "fullscreen",
< "minimal-ui",
< "window-controls-overlay"
< ],
< "rules": [
< "manifest_link",
< "manifest_reachable",
< "manifest_parsable",
< "manifest_content_type",
< "name",
< "short_name",
< "start_url",
< "scope",
< "display",
< "background_color",
< "theme_color",
< "icon_sizes",
< "icon_assets",
< "maskable_icon",
< "screenshots",
< "shortcuts",
< "shortcut_icon_assets",
< "service_worker",
< "secure_origin"
< ],
< "serviceWorkerPaths": [
< "/sw.js",
< "/service-worker.js",
< "/serviceworker.js"
< ],
< "maxAssets": 200,
< "assetHeaderBytes": 64,
< "maxRedirects": 5,
< "timeoutSeconds": 20,
< "maxDocumentBytes": 2097152,
< "concurrency": 4,
< "userAgent": "PwaInstallGate/0.1 (+https://apify.com)"
<}
<EOF
$curl "https://api.apify.com/v2/actors/kingii98~pwa-install-readiness-and-manifest-asset-gate/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'