How HTTP Works

Cheat Sheet

HTTP Status Codes

Condensed status code meanings for quick debugging.

1xxInformational

  • 100Continue · Headers accepted, continue request body.
  • 101Switching Protocols · Protocol upgrade accepted.
  • 103Early Hints · Preload hints before final response.

2xxSuccess

  • 200OK · Request succeeded.
  • 201Created · Resource created.
  • 204No Content · Success without body.

3xxRedirection

  • 301Moved Permanently · Permanent redirect.
  • 302Found · Temporary redirect.
  • 304Not Modified · Use cached representation.
  • 307Temporary Redirect · Redirect, preserve method.
  • 308Permanent Redirect · Permanent redirect, preserve method.

4xxClient Error

  • 400Bad Request · Malformed request.
  • 401Unauthorized · Auth required.
  • 403Forbidden · Access denied.
  • 404Not Found · Resource not found.
  • 429Too Many Requests · Rate limit exceeded.

5xxServer Error

  • 500Internal Server Error · Unexpected server failure.
  • 502Bad Gateway · Invalid upstream response.
  • 503Service Unavailable · Service unavailable.
  • 504Gateway Timeout · Upstream timeout.

howhttpworks.com/resources/cheat-sheets/status-codes

Browse /search