200 OK
Request succeeded.
Search HTTP status codes and review concise response semantics.
200 OK
Request succeeded.
201 Created
A new resource was created.
204 No Content
Request succeeded with no response body.
301 Moved Permanently
Resource moved to a new URL.
302 Found
Temporary redirect response.
400 Bad Request
Malformed client request.
401 Unauthorized
Authentication required.
403 Forbidden
Authenticated but not permitted.
404 Not Found
Resource was not found.
409 Conflict
Request conflicts with current state.
422 Unprocessable Entity
Validation failed.
429 Too Many Requests
Rate limit exceeded.
500 Internal Server Error
Unexpected server failure.
502 Bad Gateway
Invalid upstream response.
503 Service Unavailable
Server temporarily unavailable.
Specifications & Standards
What is the difference between 401 Unauthorized and 403 Forbidden?
401 Unauthorized means the request lacks valid authentication credentials. The client must authenticate to access the resource. 403 Forbidden means the client is authenticated but does not have permission to access the resource.
When should I use a 301 redirect instead of a 302 redirect?
Use 301 Moved Permanently when a page has permanently moved and you want search engines to transfer link equity to the new URL. Use 302 Found (temporary) when a page is temporarily relocated, telling crawlers to retain the original URL index.
What is a 429 status code?
429 Too Many Requests indicates that the user has sent too many requests in a given amount of time (rate limited). Servers should include a Retry-After header indicating how long the client must wait.
What causes a 502 Bad Gateway error?
A 502 Bad Gateway error occurs when a gateway or proxy server (like Nginx) receives an invalid response from the upstream application server (like Node.js or Python) that it attempted to contact.
Is it acceptable to return custom status codes?
No. Custom status codes (e.g., 499 or 599) should be avoided. Standard HTTP clients and proxies do not understand them, and they can cause intermediate network nodes to fail.
What does 409 Conflict mean?
409 Conflict indicates that the request conflicts with the current state of the server. This is common when attempting to register a username that already exists or submit conflicting edits.
Are all HTTP status codes cacheable?
No. Caching behavior is defined per status code. For example, 200 OK and 301 Moved Permanently are cacheable by default, while 204 No Content and server errors (5xx) are not cached.
What is the meaning of 418 I'm a teapot?
418 I'm a teapot is an RFC-defined easter egg status code (RFC 2324) introduced as an April Fools joke in 1998. It is not intended for real-world web API operations.
Explore related utilities inside the Web Studio workshop for complementary engineering workflows.
View all Web Studio tools