Quick Start
mockd lets you create mock API endpoints that return the responses you define. Your mocks run at the edge, so they’re globally distributed and fast. No signup required.
1. Create a Project
Section titled “1. Create a Project”Head to mockd.sh and click New Project. Give it a name — this becomes your subdomain.
You don’t need an account to get started. A project made without an account is temporary: it’s deleted after 7 days unless you sign up in the same browser and claim it. See Anonymous Projects.
2. Create an Endpoint
Section titled “2. Create an Endpoint”Inside your project, click New Endpoint. Configure:
- Method — GET, POST, PUT, DELETE, etc.
- Path — the URL path your mock will respond on (e.g.
/api/users) - Status Code — 200, 404, 500, etc.
- Response Body — the JSON (or other content) to return
3. Send a Request
Section titled “3. Send a Request”Your endpoint is live immediately. Send a request to it:
curl https://<your-project>.mockd.sh/api/usersThe response body you configured is returned, and the request appears in the Request Log in real time.
Next Steps
Section titled “Next Steps”- Projects — how projects organize your endpoints
- Endpoints — detailed endpoint configuration
- Template Variables — dynamic responses with fake data
- Mock Rules — conditional responses