Utilities/Response Status Code
utilities_response_status_codeConfigures the server to respond with a chosen HTTP status code for testing API behavior; invalid codes return 400 Bad Request.
Instructions
This endpoint allows one to instruct the server which status code to respond with.
Every response is accompanied by a status code. The status code provides a summary of the nature of response sent by the server. For example, a status code of 200 means everything is okay with the response and a code of 404 implies that the requested URL does not exist on server.
A list of all valid HTTP status code can be found at the List of Status Codes wikipedia article. When using Postman, the response status code is described for easy reference.
Note that if an invalid status code is requested to be sent, the server returns a status code of 400 Bad Request.
(Postman request: Utilities/Response Status Code | GET https://postman-echo.com/status/200)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "utilities_response_status_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||