Use cases & guides
Practical recipes for common mocking tasks. Each one is a ready-to-run example — copy the curl, get a public URL, point your code at it.
Mock a REST API endpoint
Get a public JSON endpoint to unblock your frontend before the backend exists.
Test retry and back-off logic
A mock that fails first, then succeeds — so you can prove your retry code works.
Simulate a flaky API
Inject random errors and variable latency to catch bugs that only appear under load.
Simulate a slow API
Add a fixed delay to test loading states, spinners, and timeout handling.
Test a webhook receiver
Catch incoming webhook calls and inspect their headers and body in real time.
Mock a specific error response
Return an exact 4xx/5xx status and body to reproduce an edge case on demand.
Return realistic fake data
Use {{faker.*}} tokens to get fresh names, emails, and UUIDs on every call.
Echo the request back
Reflect the incoming method, headers, and body into the response with {{request.*}} tokens.