Status Code Endpoint
Return any status code – or a random one from a weighted list.
About Status Code Endpoint
/status/404 answers 404 Not Found. Give several codes (/status/200,500) to get a random one, or add weights (/status/200:0.9,503:0.1) to simulate a flaky server. Redirect codes send a Location header, 401 asks for Basic auth and 418 explains that it is a teapot.
How to use
- Pick an endpoint and fill in its path, query and header values – the defaults already work.
- Press Send to call it from your browser, or copy the ready-made curl command for your terminal.
- Read the status, timing, response headers and body – or open the request in the Request Tester to change anything.
Requests are answered and forgotten: HttpNex never stores what you send – only an anonymous count of calls per endpoint group.