A live look inside
Live preview. It becomes interactive with your account.
What Mock Server does
In almost every project the frontend depends on the backend, and the backend is rarely finished on time. Instead of waiting idly, you simply mock the API. The Mock Server does exactly that without your own server setup: you describe an endpoint - path, method, status code, response headers and response body - and it answers just as you specified.
A mock endpoint is made of a few details. The path sets the address, the method (GET, POST, PUT, PATCH or DELETE) the verb, the status code the outcome - from 200 OK through 404 Not Found to 500 Internal Server Error. You set the response headers freely, for example Content-Type or custom fields, and in the response body you store the answer, typically as JSON.
The adjustable delay is especially useful. Real APIs do not answer in zero milliseconds, and your loading state, your spinners and your timeouts want testing. With an artificial delay you simulate slow connections and see whether your UI still reacts cleanly when a response takes its time.
Every endpoint you define can be tested directly in the tool. You get the simulated response back with status, headers, body and the actual response time - exactly as it would arrive at your code later. The request logging shows which calls came in, so you can verify that your integration really hits the endpoint.
The typical flow: you model the planned API with a few mock endpoints, wire your frontend against them and later replace the mocks with the real interface once it exists. That decouples frontend and backend development so you do not block each other.
The Mock Server plays well with the API Playground: there you call your mock endpoints and inspect the response in detail, just as if it were a real API. Together they form a small, browser-based bench for everything to do with HTTP interfaces - no Docker, no local Node process, no installation.
Features
Define endpoints freely
Path, method, status code, headers and body - describe an endpoint in a few fields and it answers instantly.
Any status code
From 200 through 404 to 500 - test how your code behaves on success, error and edge cases.
Custom response headers
Set Content-Type or any custom headers to reproduce realistic responses.
Artificial delay
Simulate slow connections with an adjustable delay and check your loading states and timeouts.
Test directly
Call each mock endpoint in the tool and see the simulation’s status, headers, body and response time.
Request logging
See which calls came in and make sure your integration actually hits the endpoint.
How it works
- 1
Create an endpoint
Enter the path and method, choose the status code and describe the desired response.
- 2
Shape the response
Enter response headers and body, usually as JSON, and set a delay if needed.
- 3
Save and test
Save the endpoint and call it directly to see the simulation’s status, headers and body.
- 4
Develop against the mocks
Wire your frontend against the mock endpoints and replace them with the real API later.
Who needs this
Frequently asked questions
Why do I need a mock server?
To develop before the real backend is ready. You define the planned endpoints with a fixed response and build your frontend against them. That keeps frontend and backend teams from blocking each other, and lets you deliberately provoke error cases too.
Can I simulate error responses?
Yes. Just set the status code to 400, 401, 404, 500 or whatever you want to test and store the matching error body. That way you check whether your app can handle errors, not only the happy path.
How do I simulate slow responses?
Via the adjustable delay. Just enter a delay in milliseconds and the endpoint answers correspondingly later. Ideal for realistically testing spinners, skeletons and timeouts.
Which methods are supported?
GET, POST, PUT, PATCH and DELETE. That covers the common REST operations and lets you reproduce realistic API behaviour for reading, creating, updating and deleting.
How do I call the mock endpoints?
Directly in the tool via a test button, or from the API Playground where you can inspect the response in detail. Your own application can call the endpoints during development too.
Related tools
API Playground
Test HTTP requests, manage collections and environment variables.
REST API & DATEV Export
Access your invoice data via REST API. DATEV-compatible exports for your tax advisor. Automat…
Scripts
Run custom JavaScript and TypeScript scripts in a sandboxed environment. Control tool APIs, a…
JSON Formatter
Format, validate, and minify JSON with syntax highlighting and error detection. Free, runs in…
Regex Tester
Test regular expressions with live highlighting and German pattern presets.
Ready to use Mock Server?
No installation. No account needed to start. Open it right in your browser.
Open now