StatusCodes.org

This site returns HTTP Response Status Codes for testing and validation.

Usage

Statuses can be specified by editing the URL path — /200 /429 /503 ...

For example, visiting http://statuscodes.org/418 returns the following:

Version: HTTP/1.1
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.

Notes

- 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 · Source