DEV Community

Cover image for How to test all HTTP status codes (and have tea)
Alain D'Ettorre
Alain D'Ettorre

Posted on

How to test all HTTP status codes (and have tea)

httpstat.us is the perfect website for trying and learning any HTTP status and its meaning.

You want to test a 500 Internal Server Error HTTP response in your fancy frontend app but your local development server simply doesn't want to fail (lucky you!)? Just make a request to https://httpstat.us/500

You want a teapot? Just make a request to https://httpstat.us/418

Photo by Seb Cumberbirch on Unsplash

Top comments (0)