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.
1. Create an Account
Section titled “1. Create an Account”Head to mockd.sh and sign in with GitHub or a magic link.
2. Create a Project
Section titled “2. Create a Project”After signing in, click New Project. Give it a name — this groups your endpoints together.
3. Create an Endpoint
Section titled “3. 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) - Response status — 200, 404, 500, etc.
- Response body — the JSON (or other content) to return
4. Send a Request
Section titled “4. 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”- Account Setup — authentication options and settings
- Creating Endpoints — detailed endpoint configuration
- Mock Rules — conditional responses based on request properties