Cheatsheet
HTTP Status Codes Reference
Every HTTP status code with a plain-English explanation. Quickly find what 200, 301, 404, 500, and others mean.
2xx — Success
200OKRequest succeeded. Standard response for GET requests.
201CreatedNew resource created. Common response for POST.
204No ContentSuccess, but no body to return. Common for DELETE.
3xx — Redirection
301Moved PermanentlyResource has a new permanent URL. Search engines transfer SEO
value.
302FoundTemporary redirect. SEO value stays with the original URL.
304Not ModifiedCached version is still valid. No body returned.
307Temporary RedirectLike 302, but preserves the HTTP method.
4xx — Client Errors
400Bad RequestMalformed request. Check your payload format.
401UnauthorizedMissing or invalid authentication. You need to log in.
403ForbiddenAuthenticated but not authorized. You don't have permission.
404Not FoundResource doesn't exist. Check the URL.
405Method Not AllowedWrong HTTP method (e.g. POST to a GET-only endpoint).
409ConflictRequest conflicts with current state (e.g. duplicate resource).
422Unprocessable EntityValid syntax but semantic errors (e.g. validation failure).
429Too Many RequestsRate limited. Slow down your requests.
5xx — Server Errors
500Internal Server ErrorSomething broke on the server. Check your logs.
502Bad GatewayProxy/load balancer got an invalid response from upstream.
503Service UnavailableServer is overloaded or down for maintenance.
504Gateway TimeoutUpstream server didn't respond in time.