About HTTP Status Codes Reference

Reference guide for all HTTP status codes. Learn about 1xx informational, 2xx success, 3xx redirection, 4xx client error, and 5xx server error codes. Includes detailed descriptions and common use cases.

Frequently Asked Questions

What do HTTP status code categories mean?

1xx: Informational, 2xx: Success, 3xx: Redirection, 4xx: Client Error, 5xx: Server Error. The first digit tells you the general type of response.

What is the difference between 401 and 403?

401 Unauthorized means authentication is required or failed. 403 Forbidden means the server understood the request but refuses to authorize it, even with valid authentication.

What does 418 "I am a teapot" mean?

HTTP 418 is an April Fools joke from RFC 2324 (Hyper Text Coffee Pot Control Protocol). It is defined as the response when trying to brew coffee with a teapot.

What are HTTP status codes?

HTTP status codes are three-digit numbers returned by servers to indicate the result of a request. They are grouped into 5 classes: 1xx (informational), 2xx (success), 3xx (redirection), 4xx (client error), and 5xx (server error).

What is a 404 error?

404 Not Found means the server cannot find the requested resource. This typically occurs when a URL is mistyped, a page has been deleted, or a link is broken.

What is the difference between 301 and 302 redirects?

301 is a permanent redirect telling search engines to update their index. 302 is a temporary redirect indicating the original URL should still be used. Use 301 for permanent URL changes.

What does 500 Internal Server Error mean?

500 Internal Server Error indicates something went wrong on the server side, but the server cannot be more specific. Check server logs to diagnose the actual issue.