Mocko Cloud
Projects and URLs
A project is the unit you work in on Mocko Cloud. It owns a public host, its own mocks and flags, its own request logs, and its own members. Understanding the project is understanding the platform.
One project, one host
Each project answers on a single HTTPS host derived from its slug:
Every request to that host is routed to that project and only that project. There is no path prefix to remember and no shared namespace: a GET /users against your host hits your /users mock. Because the host is a real HTTPS address, you point a client at it exactly as you would point at the upstream service you are standing in for.
Switching between projects
You can own several projects at once, for example one per service or one per environment. The control panel always acts on the currently selected project, and the project switcher changes which one that is. Mocks, flags, and logs are all scoped to the selection, so switching projects gives you a clean, unrelated workspace.
Proxying to a real backend
A project does not have to mock everything. Each one has an optional proxy URL: when a request arrives that no mock matches, Mocko forwards it to that address and returns the real response. Leave it blank and unmatched requests simply return a not-found response.
This is what makes a project a selective layer rather than an all or nothing replacement. You mock the endpoints that are unfinished or hard to reproduce, and let everything else fall through to the genuine service:
- Mock
POST /checkoutto force a specific failure, while realGET /productsrequests reach your staging API. - Stand your Cloud host in front of a partner API and override only the one endpoint that is not ready yet.
Next
Once traffic is flowing to a project, watch it live in Request Logs, or invite the rest of your team from Team Members.