GET https://api.getpostman.com/mocks/{{mock_uid}}/server-responses/{{server_response_id}}
This endpoint fetches you the information about a single server response created using its id
.
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; please try again in some time.\"\n}",
"createdBy": "1",
"updatedBy": "1",
"mock": "69105a6d-7f3e-4662-b116-f92dad8d9f06"
} |
ENDPOINTS