$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "request": {
< "request_type": "compatibility_check",
< "printer": {
< "manufacturer": "Zebra",
< "model": "ZD421d",
< "print_method": "direct_thermal",
< "max_media_width": {
< "value": 108,
< "unit": "mm"
< },
< "max_roll_diameter": {
< "value": 127,
< "unit": "mm"
< },
< "supported_core_sizes": [
< {
< "value": 12.7,
< "unit": "mm"
< },
< {
< "value": 25.4,
< "unit": "mm"
< }
< ],
< "supported_sensor_types": [
< "gap",
< "black_mark",
< "continuous",
< "notched"
< ]
< },
< "label": {
< "sku": "EXAMPLE-LABEL-001",
< "manufacturer": "Example Label Manufacturer",
< "width": {
< "value": 101.6,
< "unit": "mm"
< },
< "height": {
< "value": 152.4,
< "unit": "mm"
< },
< "material": "Paper",
< "print_method": "direct_thermal",
< "adhesive": "Permanent acrylic",
< "core_size": {
< "value": 25.4,
< "unit": "mm"
< },
< "roll_diameter": {
< "value": 127,
< "unit": "mm"
< },
< "sensor_type": "gap"
< },
< "application": {
< "environment": "indoor",
< "duration": "permanent"
< },
< "submitted_evidence": []
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/denning218~kynexis-1/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'