$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "baseline": "{\n \"version\": 1,\n \"pages\": [\n {\n \"url\": \"https://demo.example/services\",\n \"status\": 200,\n \"headers\": [\n {\n \"name\": \"Content-Type\",\n \"value\": \"text/html; charset=utf-8\"\n }\n ],\n \"finalUrl\": \"https://demo.example/services\",\n \"html\": \"<!doctype html><html><head><title>Our services</title><link rel=\\\"canonical\\\" href=\\\"https://demo.example/services\\\"></head><body><h1>Our services</h1></body></html>\"\n }\n ]\n}\n",
< "candidate": "{\n \"version\": 1,\n \"pages\": [\n {\n \"url\": \"https://demo.example/services\",\n \"status\": 200,\n \"headers\": [\n {\n \"name\": \"Content-Type\",\n \"value\": \"text/html; charset=utf-8\"\n }\n ],\n \"finalUrl\": \"https://demo.example/services\",\n \"html\": \"<!doctype html><html><head><title>Our services</title><link rel=\\\"canonical\\\" href=\\\"https://demo.example/services\\\"></head><body><h1>Our services</h1></body></html>\"\n }\n ]\n}\n",
< "expectations": "{\n \"version\": 1,\n \"pages\": [\n {\n \"url\": \"https://demo.example/services\",\n \"indexable\": true,\n \"requireTitle\": true,\n \"canonical\": {\n \"required\": true,\n \"target\": \"https://demo.example/services\"\n }\n }\n ]\n}\n"
<}
<EOF
$curl "https://api.apify.com/v2/actors/intuitive_crevasse~release-sentinel/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'