How Webhook Tester works
Generate an instant webhook endpoint URL to capture and debug HTTP requests, signature headers and JSON bodies in real time.
Generate an endpoint URL with one click.
Configure it in your webhook provider or send a cURL request.
Inspect incoming headers, status codes and formatted JSON.
Troubleshooting & Remediation
How to Read & Fix Results
How to read the result
- ProblemSender reports 4xx/5xx errors, expected HMAC signature headers (Stripe-Signature, X-Hub-Signature-256) are missing, or payload exceeded the 64KB truncation limit.
- WarningPayload arrives as application/x-www-form-urlencoded instead of application/json, or omits unique event/delivery IDs needed for idempotency.
- PassWebhook POST completes with HTTP 200, valid cryptographic signature header, expected JSON structure, and event ID for replay protection.
How to fix issues
- Configure the generated edge URL in your provider webhook settings (Stripe, GitHub, Shopify, Resend) or send a test POST with curl.
- Verify HMAC signatures against the exact raw request body bytes before running JSON.parse or body-parser transformations.
- Ensure your production webhook handler returns HTTP 2xx fast and processes heavy database/API work asynchronously in a queue.
- Store unique event IDs (such as event.id or X-GitHub-Delivery) to make retries idempotent.
Common mistakes to avoid
- Computing HMAC-SHA256 over JSON.stringify(req.body) instead of the raw HTTP body buffer, causing signature mismatches due to whitespace/key ordering.
- Sending live production API secrets or sensitive customer PII to temporary debugging endpoints instead of test-mode events.
- Validating Stripe signatures with the wrong signing secret (e.g. Stripe CLI whsec_ vs production endpoint secret).
- Expecting long-term retention; captured payloads are capped at 64KB and automatically purged after 24 hours.
Simulate Signed Webhook Delivery via cURL
curl -X POST "https://thenetworktools.com/api/webhook/<token>" \
-H "Content-Type: application/json" \
-H "X-Hub-Signature-256: sha256=deadbeef..." \
-d '{"event":"invoice.paid","id":"evt_12345"}'Creates an ephemeral token URL on our Cloudflare edge capturing HTTP methods, up to 60 headers, query params, and bodies up to 64KB (rate-limited to 60 req/min per sender IP and auto-purged after 24 hours). Do not transmit live secrets or PII.
Next checks:Decode JWT tokensCheck security headersTrace HTTP redirects
Specifications & Scope
About Webhook Tester
- 01 / What it does
- Generate an instant webhook endpoint URL to capture and debug HTTP requests, signature headers and JSON bodies in real time.
- 02 / How to use
- 1. Generate an endpoint URL with one click. 2. Configure it in your webhook provider or send a cURL request. 3. Inspect incoming headers, status codes and formatted JSON.
- 03 / Good to know
- Use the cURL snippet button to simulate realistic webhook events from your command line before configuring third-party providers.
Got Questions?
Frequently Asked Questions
Explore More
More in Generators (New)
Tool Details & Usage Guide
RFC specifications, input expectations, outputs, and edge limitations.
Debugging Incoming Webhooks Without Guesswork
Event-driven integrations—payment webhooks from Stripe or Razorpay, repository events from GitHub, transactional delivery events from Resend, and fulfillment hooks from Shopify—fail silently when headers, content types, or signing payloads diverge from documentation. This Webhook Tester allocates an ephemeral edge URL (https://thenetworktools.com/api/webhook/<token>) that logs HTTP methods, up to 60 request headers, query parameters, and bodies up to 64 KB in real time.
Verifying Cryptographic Signatures (Stripe-Signature & X-Hub-Signature-256)
Production webhook handlers must authenticate payloads before mutating state. Inspecting real incoming headers side by side with raw request bytes eliminates the most common HMAC bugs:
- Stripe (
Stripe-Signature): Uses the header formatt=1732608000,v1=5257a869e7.... The HMAC-SHA256 digest is computed over the concatenated string${timestamp}.${rawRequestBody}using your endpoint signing secret (whsec_...). Reject timestamps older than 5 minutes (300 seconds) to prevent replay attacks. - GitHub (
X-Hub-Signature-256): Usessha256=<hex_digest>computed over the exact raw payload bytes using your configured webhook secret. Compare digests with a constant-time function (crypto.timingSafeEqualin Node.js orhmac.compare_digestin Python) rather than===.
The #1 verification bug: Calling express.json() or JSON.parse() first and later hashing JSON.stringify(req.body) breaks signature validation whenever whitespace, float formatting, or key ordering differs from the sender’s byte stream. Always capture the raw Buffer / ArrayBuffer before parsing JSON.
application/json vs. application/x-www-form-urlencoded
Never assume every webhook delivers Content-Type: application/json:
- Modern REST webhooks (Stripe, Resend, Clerk, GitHub JSON mode) post raw UTF-8 JSON with
application/json. - Legacy & chat webhooks (Slack interactive components, GitHub form-encoded mode, Twilio status callbacks) send
application/x-www-form-urlencoded, sometimes nesting an entire JSON string inside apayload=form key. - CORS preflights: Browser-triggered tests send
OPTIONSpreflight checks; our edge receiver responds204 No Contentwith permissive CORS headers so browser tools and local frontends can test immediately.
Idempotency, Fast Acknowledgements & Retry Storms
Webhook providers enforce strict HTTP response timeouts (typically 3–10 seconds) and retry failed deliveries with exponential backoff for up to 72 hours. Follow three rules in your real receiver:
- Return
200 OKor202 Acceptedimmediately after signature verification and durable enqueueing; never block the webhook HTTP thread on slow PDF generation, email sending, or third-party API calls. - Deduplicate on unique event IDs (
event.idin Stripe,X-GitHub-DeliveryUUID in GitHub,svix-idin Svix/Clerk/Resend) inside a databaseUNIQUEconstraint so retries never double-charge or send duplicate emails. - Avoid 3xx redirects on webhook URLs: Many providers either refuse to follow
301/302redirects or downgradePOSTtoGETon301/302(use308if a redirect is unavoidable, or inspect your endpoint with our Redirect Checker).
Testing Live Endpoints vs. Local Development
Use this live edge URL when configuring staging dashboards in third-party SaaS portals where opening firewall ports to localhost is undesirable or blocked by corporate NAT. Simulate realistic signed deliveries from your CLI:
PAYLOAD='{"id":"evt_test_101","type":"invoice.paid","amount":4900}'
SIG=$(printf '%s' "$PAYLOAD" | openssl dgst -sha256 -hmac "my_test_secret" | awk '{print $2}')
curl -i -X POST "https://thenetworktools.com/api/webhook/<your-token>" \
-H "Content-Type: application/json" \
-H "X-Hub-Signature-256: sha256=${SIG}" \
-H "X-GitHub-Delivery: $(uuidgen)" \
-d "$PAYLOAD"
Operational boundaries: To protect against abuse, incoming requests are rate-limited at 60 requests/min per sender IP, bodies larger than 64 KB are truncated, and captured sessions expire automatically after 24 hours. Never send live production API keys or sensitive customer PII to temporary webhook debugging URLs—use test-mode sandbox events only.
Inspect signed JWT payloads in tokens with the JWT Decoder, verify TLS/header posture on your production webhook receiver with Security Headers and TCP Latency, or review programmatic endpoints in the API Reference.
Recommended Troubleshooting Deep Dives
Authoritative SRE implementation tutorials related to this tool.
My Go-To Checklist for Network Troubleshooting
When the server goes down, don't panic. Here is the exact, step-by-step checklist I use to isolate and fix network issues.
Read guideTroubleshooting SPF Flattening Errors in AWS SES
When Amazon Simple Email Service (SES) rejects a message because of an SPF flattening error, the problem is usually hidden in a maze of DNS lookups. Below is a ...
Read guideDNS Migration Checklist: Move Your Domain Without Breaking Email or Your Website
A step-by-step checklist for moving DNS to a new provider: export records, lower TTL, copy MX, SPF, DKIM and DMARC, switch nameservers, then verify.
Read guideRelated tools
View all toolsSPF Generator
Free SPF record generator. Pick your email providers and get a correct v=spf1 TXT record, with a warning for the 10 lookup limit.
DKIM Generator
Free browser-based DKIM generator and selector checker. Generate 2048-bit RSA key pairs, test live selector DNS records, and get publish-ready TXT values.
DMARC Generator
Free DMARC record generator. Configure p=none, quarantine or reject policies, RUA/RUF reporting addresses, pct rollout and copy a valid _dmarc TXT record.
