DEV Community

Max I.
Max I.

Posted on

How to Test Webhooks Locally in 2026: The Complete Guide

How to Test Webhooks Locally in 2026: The Complete Guide

Webhooks are everywhere — Stripe payments, GitHub events, Slack notifications, Discord bots. But testing them? That's always been annoying.

You spin up a local server, expose it via ngrok, hope the URL doesn't change, and pray nothing times out. There has to be a better way.

The Problem with Webhook Testing

Most developers have been through this loop:

  1. Write webhook handler code
  2. Expose localhost with ngrok or similar
  3. Configure the provider with your temporary URL
  4. Trigger a test event
  5. Realize ngrok URL changed because you restarted
  6. Repeat steps 2-5 until you give up

It gets worse when you need to:

  • Test multiple webhooks simultaneously
  • Inspect headers, body, and query parameters
  • Replay failed requests
  • Share webhook data with a teammate

The Easy Way: HookBin

HookBin is a free webhook inspector that solves all of this. No signup required, no installation, no ngrok.

Here's how it works:

Step 1: Get Your Endpoint

Go to hookbin.pro and you instantly get a unique URL. That's it. No account needed.

Step 2: Point Your Webhook There

Configure your service (Stripe, GitHub, etc.) to send webhooks to your HookBin URL.

Step 3: Inspect Everything

Every incoming request is logged with full details:

  • Headers
  • Body (JSON, form data, raw)
  • Query parameters
  • Timestamp

Step 4: Replay Requests

Found a bug? Replay any captured request to your local server with one click. Perfect for debugging.

Real-World Examples

Testing Stripe Webhooks

# Set your HookBin URL as the Stripe webhook endpoint
stripe trigger payment_intent.succeeded
Enter fullscreen mode Exit fullscreen mode

All webhook data appears instantly in HookBin — you can inspect the full event payload, verify signatures, and understand the data structure without writing a single line of code.

Debugging GitHub Webhooks

HookBin supports filtering by GitHub event types. When GitHub sends a push event, you see it categorized and formatted. Same for pull_request, issues, release, and all other events.

Discord Bot Development

Point Discord's webhook URL to HookBin, trigger events, and see exactly what Discord sends. Much faster than guessing the payload format.

Free vs Pro

The free tier gives you:

  • 3 endpoint
  • 1,000 requests/day
  • 7 days of history

Need more? Pro is $6/month and includes:

  • 10 endpoints
  • 5,000 requests/day
  • 30 days of history
  • Advanced filtering

Comparison with Alternatives

Feature HookBin webhook.site RequestBin
Free tier ✅ (limited)
No signup
Replay requests 💰 Pro only
GitHub event filtering
Crypto payments

Getting Started

  1. Open hookbin.pro
  2. Copy your unique endpoint URL
  3. Send a test request:
curl -X POST https://hookbin.pro/your-endpoint-id \
  -H 'Content-Type: application/json' \
  -d '{"test": "hello world"}'
Enter fullscreen mode Exit fullscreen mode
  1. See it appear instantly in your browser

That's it. No installation, no configuration, no account.


If you found this helpful, check out HookBin for all your webhook testing needs. It's free, fast, and requires zero setup.

Top comments (0)