Search tools

Search for a command to run...

Mock API Endpoint Generator

Create a mock REST endpoint in seconds — pick the status code, JSON/XML/text body, custom headers and delay — and call it from your app with CORS enabled.

How to use

  1. 1Set the status code, content type, body and optional headers or delay.
  2. 2Create the endpoint and copy its URL.
  3. 3Call it from your front-end, tests or Postman.

Frequently asked questions

How long does a mock last?

7 days.

Can it return errors?

Yes — choose 4xx or 5xx status codes, and add a delay to test loading states and timeouts.

What can't it do?

It can't serve HTML pages, set cookies or redirect, and it's publicly readable by anyone with the URL — so never put secrets in it.