$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "items": [
< {
< "type": "url",
< "data": "https://apify.com"
< },
< {
< "type": "text",
< "data": "Hello"
< },
< {
< "type": "wifi",
< "wifi": {
< "ssid": "Home",
< "pass": "secret",
< "enc": "WPA"
< }
< },
< {
< "type": "vcard",
< "vcard": {
< "name": "Doe;Jane",
< "phone": "+15550100",
< "email": "jane@example.com"
< }
< }
< ],
< "csv": "type,data,ssid,password,encryption,name,phone,email,filename\nurl,https://apify.com,,,,,,,apify\nwifi,,Home,secret,WPA,,,,\nvcard,,,,,Jane Doe,+15550100,jane@example.com,\n"
<}
<EOF
$curl "https://api.apify.com/v2/actors/badboxx_newlife~bulk-qr-code-generator/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'