Publish a Mock and Add a Custom Response
A 3-step recipe with Postman. We can help you get access.
Recipe · 3 steps
Publish a Mock and Add a Custom Response
with Postman
Publish a mock server and attach a custom server response.
- Publish the mock server so it is publicly accessible without authentication.
- Create a custom server response on the mock server.
- List the mock server's custom responses to confirm the new response is present.
What you'll need to have ready
- mockId: The mock server's unique ID or UID.
- responseName: The name of the custom server response.
- statusCode: The HTTP status code the custom response should return.
- responseBody: The body content of the custom response.
For your developer
Arazzo workflow postman:publish-mock-and-add-response, 3 operations: publishMock → createServerResponse → getMockServerResponses. Specs on APIs.io.