HTTP Status Codes Cheat Sheet/HTTP status code classes

Understand the five categories of HTTP responses.

Section: Status Code Classes

HTTP status code classes

text
text
1xx Informational
2xx Success
3xx Redirection
4xx Client Error
5xx Server Error
Explanation

HTTP responses are grouped into five classes: informational, successful, redirection, client error, and server error responses. That grouping is reflected in current HTTP references.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Status Code Classes
Debug status codes in the right order
A quick flow for deciding where a problem lives.
OpenIn sheettextsame section
Check headers and status with curl
Inspect the response line and headers only.
OpenIn sheetbashsame section
See the full request/response exchange
Use verbose mode to diagnose redirects, TLS, and headers.
OpenIn sheetbashsame section
Follow redirects
Useful for 301, 302, 307, and 308 responses.
OpenIn sheetbashsame section
GET success codes
Typical success responses for reads.
OpenIn sheettext1 tag match
Create success codes
Typical responses when creating resources.
OpenIn sheettext1 tag match