Skip to content
Sign inStart monitoring

Developer Utility · WEBHOOK

Webhook Tester Workbench

Client-side developer utilities and real-time edge diagnostics with zero telemetry tracking.

Zero TrackingInstant Execution100% Ad-FreeStandards Compliant
Loading tool...
Workflow & Diagnostics

How Webhook Tester works

Generate an instant webhook endpoint URL to capture and debug HTTP requests, signature headers and JSON bodies in real time.

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.

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

RFC Syntax
Reference ExampleRFC 1035 / BIND
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

Captured webhook requests are stored ephemerally and automatically purged after 24 hours.
Technical Reference & Standards

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:

  1. Stripe (Stripe-Signature): Uses the header format t=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.
  2. GitHub (X-Hub-Signature-256): Uses sha256=<hex_digest> computed over the exact raw payload bytes using your configured webhook secret. Compare digests with a constant-time function (crypto.timingSafeEqual in Node.js or hmac.compare_digest in 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 a payload= form key.
  • CORS preflights: Browser-triggered tests send OPTIONS preflight checks; our edge receiver responds 204 No Content with 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 OK or 202 Accepted immediately 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.id in Stripe, X-GitHub-Delivery UUID in GitHub, svix-id in Svix/Clerk/Resend) inside a database UNIQUE constraint so retries never double-charge or send duplicate emails.
  • Avoid 3xx redirects on webhook URLs: Many providers either refuse to follow 301/302 redirects or downgrade POST to GET on 301/302 (use 308 if 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.