$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "postings": [
< {
< "id": "job-1",
< "title": "Sr. Backend Engineer (Python) - Remote, US",
< "location": "Remote - US",
< "company": "Acme",
< "text": "Fully remote, open to candidates based in the United States or Canada. Base salary $160,000 - $200,000 per year plus equity. 5+ years of experience with Python, Django and PostgreSQL. We are unable to sponsor visas. Full-time."
< },
< {
< "id": "job-2",
< "title": "Data Analyst (m/w/d)",
< "location": "Berlin, Germany",
< "text": "Hybrid role, 3 days a week in our Berlin office. €55.000 - €65.000 per year. SQL, Python and Tableau. Fluent German required."
< },
< {
< "id": "job-3",
< "text": "Freelance Product Designer - Remote (EMEA)\n$60 - $80 per hour, 6-month contract. Figma and design systems experience."
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/keith-apis~job-posting-parser/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'