A web service that returns HTTP response status codes for testing purposes and other use cases.
Statuses can be specified by editing the URL path —
For example, visiting http://statuscodes.org/418 delivers the following:
Status: 418 I'm a teapot
You can verify the above in the browser's developer console, or in the terminal with the command:
curl --head --silent statuscodes.org/418 | grep "HTTP"
In either case, a text/plain; charset=UTF-8 payload of the status code is also sent for visual confirmation.
- While SSL is supported, connections are not implicitly upgraded.
- Status codes that cannot be returned are 100 101 102 204 205 and 304.
List of Codes
The following list of HTTP status codes can be returned:
Copyright (c) Paramdeo Singh · Made with ☕️ in Guyana