$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "queries": [
< "developpeur"
< ],
< "location": "Paris",
< "radius": 10,
< "publishedDate": "Last Week",
< "contractType": [
< "Permanent contract (CDI) | CDI"
< ],
< "contractDuration": [
< "Full-time | Temps plein"
< ],
< "jobCategory": [
< "IT | Informatique, Télécommunication"
< ],
< "minSalary": 0,
< "experience": [],
< "seniority": [],
< "onlyFranceTravail": false,
< "inclusiveEmployer": false,
< "adaptedCompany": false,
< "sortBy": "Newest | Date",
< "urls": [
< "https://candidat.francetravail.fr/offres/recherche?motsCles=developpeur",
< "https://candidat.francetravail.fr/offres/recherche?motsCles=developpeur&lieux=75D&offresPartenaires=true&range=0-19&rayon=10&tri=0",
< "https://candidat.francetravail.fr/offres/recherche?motsCles=developpeur&range=20-39",
< "https://candidat.francetravail.fr/offres/recherche?typeContrat=CDI&lieux=69D&tri=1",
< "https://candidat.francetravail.fr/offres/recherche?domaine=M&motsCles=cariste&departement=69",
< "https://candidat.francetravail.fr/offres/recherche/detail/215PPHG",
< "https://candidat.francetravail.fr/offres/recherche/detail/8265879",
< "https://candidat.pole-emploi.fr/offres/recherche?motsCles=comptable"
< ],
< "maxItems": 20,
< "maxPages": 0,
< "fetchDetails": true,
< "proxy": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~francetravail-fr-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'