Status Code
ELI5 — The Vibe Check
An HTTP status code is the server's one-line verdict on your request. 200 means 'perfect, here's what you asked for.' 404 means 'can't find it.' 500 means 'I messed up.' The first digit tells you the category: 2xx=success, 3xx=redirect, 4xx=your fault, 5xx=server's fault.
Real Talk
HTTP status codes are three-digit numbers in HTTP responses that indicate the result of the server's processing of a request. They're grouped: 1xx (informational), 2xx (success), 3xx (redirection), 4xx (client errors), 5xx (server errors). Defined in RFC 7231.
Show Me The Code
// Common HTTP status codes
200 OK // Success
201 Created // Resource created
204 No Content // Success, no body
301 Moved Permanently // Permanent redirect
302 Found // Temporary redirect
400 Bad Request // Malformed request
401 Unauthorized // Not authenticated
403 Forbidden // Authenticated but not allowed
404 Not Found // Resource doesn't exist
409 Conflict // State conflict
422 Unprocessable Entity // Validation failed
429 Too Many Requests // Rate limited
500 Internal Server Error // Server broke
503 Service Unavailable // Server overwhelmed
When You'll Hear This
"The API is returning 401 — the token is probably expired." / "Return 422 when validation fails."
Related Terms
301 Redirect
A 301 redirect says 'this page has PERMANENTLY moved to a new address.' Browsers remember it and go straight to the new URL next time.
HTTP (HyperText Transfer Protocol)
HTTP is the language your browser uses to ask websites for stuff. You type a URL, your browser shouts 'hey, give me that page!
Rate Limit
A rate limit is the AI provider saying 'slow down, buddy.
Request
A request is what your browser (or app) sends to a server when it wants something. 'Give me the homepage.' 'Give me that image.
Response
A response is what the server sends back after receiving a request.