$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "inputType": "text",
< "cvsBatch": "John Smith\nEmail: john@example.com\nSenior Software Engineer\n5 years experience\nSkills: Python, JavaScript, SQL\n\n===\n\nSarah Johnson\nEmail: sarah@example.com\nJunior Developer\n2 years experience\nSkills: HTML, CSS, React",
< "pdfUrls": [],
< "jobTitle": "Software Engineer",
< "jobDescription": "Looking for a Software Engineer with 3+ years of experience in Python and JavaScript. Must have strong problem-solving skills.",
< "requiredSkills": [
< "Python",
< "JavaScript"
< ],
< "experienceYears": 3
<}
<EOF
$curl "https://api.apify.com/v2/acts/peghin~easyhireapp---candidate-score/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'