GET https://api.getpostman.com/mocks/{{mockId}}/server-responses/{{serverResponseId}}
Gets information about a mock server's server stub.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"createdAt": "2022-08-02T15:08:03.000Z",
"updatedAt": "2022-08-02T15:08:03.000Z",
"id": "965cdd16-fe22-4d96-a161-3d05490ac421",
"name": "Internal Server Error",
"statusCode": 500,
"headers": [],
"language": null,
"body": "{\n \"message\": \"Something went wrong; try again later.\"\n}",
"createdBy": "20891195",
"updatedBy": "20891195",
"mock": "32cd624d-9986-4f20-9048-89252f722269"
} |
ENDPOINTS