Mock APIs · part of RequestBin

Test webhooks and APIs without a backend.

Spin up a public mock endpoint, point your client at it, and inspect every request that hits it. No servers to run, no Docker compose, no auth juggling — copy the URL and curl it.

Free plan: 1 mock endpoint, 1 active rule, captures kept while the endpoint is live. No card.

30-second demo

Curl it. See the response.

You sign up, pick a slug (e.g. myapi), define a rule that says “GET /ping returns 200 OK”, and your endpoint is live at myapi.rbmock.dev. That’s it.

  • Public HTTPS endpoint, ready in 30 seconds
  • Match by method + path + headers + body
  • Set status, headers, body — JSON or text
  • Captures every request for inspection
  • Forward matched captures to your dev box
  • No backend, no Docker, no deploy
terminal
$ curl https://myapi.rbmock.dev/ping
{ "ok": true }
terminal
$ curl -X POST https://myapi.rbmock.dev/orders \
    -H 'Content-Type: application/json' \
    -d '{"sku":"abc"}'
{ "id": "ord_demo_001", "status": "queued" }

What people use it for

Three jobs Mock does today

Pick whichever lines up with the bug or feature you’re working on. Each takes about a minute to wire up.

  • Stripe webhook payloads

    Wire a payment_intent.succeeded mock URL into your dev environment. Trigger your handler from real curl commands or Stripe’s CLI without spinning up Stripe test mode.

  • GitHub webhook events

    Simulate push, pull_request, and issues events with the right headers (X-GitHub-Event, signatures) so your CI listener sees the same shape it would in prod.

  • Flaky third-party APIs

    Return a 500 every third request, or a 200 with a 5-second delay. Drive your retry / backoff / circuit-breaker code with realistic failure modes — no waiting for the real API to flake.

Why use Mock

Faster than spinning up a server

30 seconds to a public URL vs. an hour writing an Express stub and exposing it via ngrok.

Safer than touching prod

Your mock URL is yours. No accidental writes against a real third-party sandbox or someone else’s test account.

Built into RequestBin

Same dashboard you already use to inspect webhooks. Mock + capture + replay in one place.

Stop running fake servers locally.

One URL, public over HTTPS, free to start. Add rules when you need them.

RequestBin
© Copyright 2026 RequestBin.