$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< {
< "url": "https://transparenz.hamburg.de/",
< "sourceId": "HAMBURG-TRANS",
< "userData": {
< "sourceId": "HAMBURG-TRANS"
< }
< },
< {
< "url": "https://geoportal-hamburg.de/planportal/",
< "sourceId": "HAMBURG-PLAN",
< "userData": {
< "sourceId": "HAMBURG-PLAN"
< }
< },
< {
< "url": "https://daten.berlin.de/",
< "sourceId": "BERLIN-OPEN",
< "userData": {
< "sourceId": "BERLIN-OPEN"
< }
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/zentrafoundry~german-construction-permit-monitor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'