Get a server stub
GET https://api.getpostman.com/mocks/{{mockUid}}/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-05-02T09:38:04.000Z",
"updatedAt": "2022-05-02T09:38:04.000Z",
"id": "7a2cd600-cf51-4e8a-b802-5e458828f4e5",
"name": "Internal Server Error",
"statusCode": 500,
"headers": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"language": "json",
"body": "{\n \"message\": \"Something went wrong. Try again later.\"\n}",
"createdBy": "1",
"updatedBy": "1",
"mock": "0fca2246-c108-41f5-8454-cc032def329f"
} |
ENDPOINTS