$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "resumeText": "EDUCATION\nMaster of Science in Computer Science\nStanford University | 2018-2020 | GPA: 3.8/4.0\n\nBachelor of Technology in Computer Science\nIIT Delhi | 2014-2018 | GPA: 3.9/4.0\n\nWORK EXPERIENCE\nSenior Software Engineer | Google Inc. | June 2020 - Present (5 years)\nโข Led microservices migration for payment systems\nโข Reduced API latency by 40% through optimization\nโข Mentored team of 5 junior engineers\n\nSoftware Engineer Intern | Microsoft | Summer 2019\nโข Built data analytics dashboard using React and Python\n\nSKILLS\nTechnical: Python, Java, JavaScript, React, Node.js, AWS, Docker, Kubernetes, PostgreSQL\nSoft Skills: Team Leadership, Agile/Scrum, Technical Documentation",
< "jobTitle": "Software Engineer",
< "jobDescription": "",
< "location": "San Francisco, CA",
< "attorneyBranding": ""
<}
<EOF
$curl "https://api.apify.com/v2/acts/humorous_eccentric~h1b-eligibility-checker/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'