$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "postings": [
< {
< "title": "Senior Software Engineer",
< "location": "Austin, TX",
< "salaryMin": 150000,
< "salaryMax": 185000,
< "currency": "USD",
< "period": "year"
< },
< {
< "title": "Software Engineer II",
< "location": "Remote, US",
< "salaryMin": 120000,
< "salaryMax": 150000,
< "currency": "USD"
< },
< {
< "title": "Sr. Software Engineer (Backend)",
< "location": "New York, NY",
< "description": "The base salary range for this role is $165,000 - $200,000 per year. Sign-on bonus: $15,000."
< },
< {
< "title": "Software Engineer",
< "location": "Denver, CO",
< "salaryMin": 55,
< "salaryMax": 65,
< "currency": "USD",
< "period": "hour"
< },
< {
< "title": "Product Manager",
< "location": "Austin, TX",
< "salaryMin": 140000,
< "salaryMax": 170000,
< "currency": "USD"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/northbell~pay-band-calculator/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'