How to test webhooks locally (Stripe & GitHub)

Florian Wartner · 2026-06-05

To test webhooks locally, give your dev server a public HTTPS URL with a tunnel, then register that URL as the webhook endpoint. Providers like Stripe and GitHub can only POST to a public address - they can't reach localhost directly.

npx useburrow http 3000

Use the printed URL (e.g. https://your-name.eu.useburrow.dev/webhooks) as your webhook endpoint.

Why webhooks need a tunnel

A webhook is an HTTP POST the provider sends to your server when an event happens. During development your server runs on localhost, which the provider's servers cannot reach. A tunnel exposes a public URL that forwards those POSTs to your local port.

Stripe

  1. Run npx useburrow http 3000 and copy the HTTPS URL.
  2. In the Stripe Dashboard → Developers → Webhooks, add an endpoint pointing at https://<your-url>/your/stripe/route.
  3. Trigger a test event (or use the Stripe CLI) and watch it arrive.
  4. Open the inspector at http://127.0.0.1:4040 to see the full payload and replay it as many times as you need - no need to re-trigger from Stripe each time.

GitHub

  1. Run npx useburrow http 3000.
  2. In your repo → Settings → Webhooks → Add webhook, set the Payload URL to your public URL and choose the events.
  3. GitHub sends a ping immediately; replay it from the inspector while you build your handler.

Why the inspector matters

Webhook bugs are hard to reproduce because the event already fired. Burrow's local inspector keeps every request/response and lets you replay any delivery with one click - so you iterate on your handler without waiting for the next real event. Bodies stay local by default (DSGVO-first, EU-hosted).

Stable endpoints for shared dev

Reserve a subdomain or use a custom domain so your webhook URL survives restarts - see Pricing. Coming from ngrok? See the ngrok alternative.

Try Burrow free

npx useburrow http 3000 - EU-hosted, DSGVO-first, MCP-native.

Get started free · Burrow vs ngrok