# Compress the JSON payload and pipe directly to curl
printf '{"controlNumber":"12345","billType":"professional","jurisdiction":"CA","providerTaxId":"123456789","providerZip":"90210","lines":[{"lineNumber":1,"cpt":"99213","serviceDate":"2025-07-15","charge":175.00,"units":1}]}' \
| gzip -c \
| curl -X POST {your_api_endpoint}/v1/review \
-H "Authorization: Bearer eyJhbGciOiJSUzI1NiIs..." \
-H "x-api-key: billsentry_prod_yourcompany_1234" \
-H "Content-Type: application/json" \
-H "Content-Encoding: gzip" \
--data-binary @-