$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "cookies": [
< {
< "name": "li_at",
< "value": "AQEDATBF1fcFFWD-AAABl0EnCcsAAAGXZTONy1YAvG6K6g1h7OFSD6AxUs5LKID3G40ZzP9vr_ziWH4sAmKlKRmnsr8EUg6e7luwOD13h9iZKs2nDU2iI6ozQP1I_P_60--6RI-wv-sWuKJuE3RsYiEW",
< "domain": ".linkedin.com",
< "path": "/",
< "httpOnly": true,
< "secure": true,
< "sameSite": "None"
< },
< {
< "name": "JSESSIONID",
< "value": "ajax:7961322262816580745",
< "domain": ".www.linkedin.com",
< "path": "/",
< "httpOnly": true,
< "secure": true,
< "sameSite": "None"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/ayanxsarkar~linkedin-scrapper-actor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'