Fake REST API

A fake REST API gives your app predictable HTTP resources such as users, products, orders, sessions, and payments while the real backend is still in progress.

Design REST-shaped mocks

Use nouns for resources and HTTP methods for actions. Keep response bodies close to what the production API will return, including pagination, identifiers, timestamps, and nested objects. This lets frontend code stay honest: it calls a URL, handles a status code, parses JSON, and renders the same way it will later.

GET /api/users
GET /api/users/usr_12
PATCH /api/users/usr_12
DELETE /api/users/usr_12

Fake REST APIs are especially useful for table views, admin panels, mobile apps, and integration tests that need stable fixtures exposed over HTTP.

Related links

Create a fake REST API

Move from route plan to hosted mock endpoint on HttpStatus.

Create Free Mock API