$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "resumes": [
< {
< "id": "candidate-001",
< "text": "Alex Morgan\nSenior Backend Engineer\nalex.morgan@example.com | +1 555 0100 | Austin, TX, USA\n\nSUMMARY\nBackend engineer with nine years of experience building APIs and data pipelines in Python on AWS.\n\nEXPERIENCE\nSenior Backend Engineer, Acme Analytics\nJan 2021 - Present\n- Built Python and Django services on AWS, PostgreSQL and Redis\n- Moved deployments to Docker and Kubernetes\n\nSoftware Engineer, Contoso Labs\nJun 2017 - Dec 2020\n- Developed REST APIs in Python and Flask\n- Wrote data pipelines with SQL and Airflow\n\nEDUCATION\nBSc Computer Science, Example State University, 2013 - 2017\n\nSKILLS\nPython, Django, Flask, PostgreSQL, Redis, AWS, Docker, Kubernetes, SQL, Airflow"
< },
< {
< "id": "candidate-002",
< "text": "Sam Taylor\nMarketing Coordinator\nsam.taylor@example.com | London, UK\n\nEXPERIENCE\nMarketing Coordinator, Northwind Retail\nSep 2022 - Present\n- Ran email campaigns in HubSpot and reported results in Google Analytics\n- Managed social media calendars\n\nEDUCATION\nBA Marketing, Example University, 2019 - 2022\n\nSKILLS\nHubSpot, Google Analytics, SEO, Copywriting"
< }
< ],
< "jobTitle": "Senior Backend Engineer",
< "jobDescription": "We are hiring a Senior Backend Engineer with 5+ years of experience. You will build APIs in Python and Django on AWS with PostgreSQL, and run services on Docker and Kubernetes.",
< "jobLocation": "Remote - US"
<}
<EOF
$curl "https://api.apify.com/v2/actors/keith-apis~resume-parser-job-match/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'