$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< {
< "url": "https://contrataciondelestado.es/wps/portal/plataforma",
< "sourceId": "PLACSP-ES",
< "userData": {
< "sourceId": "PLACSP-ES"
< }
< },
< {
< "url": "https://datos.gob.es/es/catalogo/conjuntos-datos?tags_ca=Contrataciones+y+licitaciones__es",
< "sourceId": "DATOS-ES",
< "userData": {
< "sourceId": "DATOS-ES"
< }
< },
< {
< "url": "https://docs.ted.europa.eu/api/latest/search.html",
< "sourceId": "TED-SEARCH",
< "userData": {
< "sourceId": "TED-SEARCH"
< }
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/zentrafoundry~spain-solar-tender-monitor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'