$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "messy_text",
< "inputText": "Name: John Doe | Age: 29 | City: New York | Active: yes\nName: Jane Smith | Age: 32 | City: Los Angeles | Active: true\nName: Bob Johnson | Age: 45 | City: Chicago | Active: no",
< "fileUrl": "",
< "urls": [
< {
< "url": "https://books.toscrape.com/"
< }
< ],
< "textParseStrategy": "auto",
< "kvFormat": "auto",
< "htmlExtractMode": "auto",
< "cssSelector": "article.product_pod",
< "fieldMap": "{\n \"title\": \"h3 a\",\n \"price\": \".price_color\",\n \"availability\": \".availability\",\n \"rating\": \"p.star-rating\"\n}",
< "sheetName": "",
< "skipEmptyRows": true,
< "forwardFillColumns": "",
< "pageSize": 0,
< "outputFormat": "records",
< "proxyConfiguration": {
< "useApifyProxy": true
< },
< "maxRequestRetries": 3
<}
<EOF
$curl "https://api.apify.com/v2/acts/moving_beacon-owner1~my-actor-66/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'