HTTP Callback
Cheat sheet · https://pcornel.dk/topic.php?topic=5323
Answer
The concrete HTTP request used by a producer to deliver an event to a configured consumer URL.
Remember
- TCP/TLS success ≠ callback accepted; HTTP routing, auth, signature and handler state still matter.
- HTTP 2xx ≠ downstream processing complete; it usually means delivery acknowledgement only.
- Timeout ≠ callback not processed; the consumer may have committed work before the producer stopped waiting.
- Same callback URL ≠ same environment; DNS, proxy or deployment routing can change behind the name.
First checks
curl -sS -o /dev/null -w '%{http_code} %{time_total}' -X POST -d @sample.json <endpoint>— status and latency- TLS certificate valid — producer requirement
- Timeout of producer — respond within
Verify in this order
producer POST → endpoint → 2xx within timeout
Where it usually breaks
A callback response proves only the HTTP delivery response; network timeout or server error may leave the actual processing state uncertain.
Client payload/auth → HTTP transport → endpoint validation/policy → request accepted → queued/job execution → target mutation → effective state → consumer workload.
HTTP Callback webhook boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Source / delivery | Event, subscription, delivery ID and attempt metadata are attributable | Missing source event, stale subscription, wrong callback or delivery history gap |
| Trust / acknowledgement | Auth/signature and schema checks occur before safe acknowledgement | Unverified payload, slow handler, 2xx before durable receipt or replay weakness |
| Processing / proof | Durable dedupe/worker evidence matches downstream target state | Duplicate side effect, worker failure hidden by 2xx or no target reconciliation |
| Troubleshooting | First failed boundary is preserved, changed minimally and retested | Blind retries, credential rotation, replay or payload edits before evidence is captured |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5323