🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Web Development Beginner

What is HTTP Status Codes?

Standardized three-digit codes returned by web servers to indicate the result of a client's HTTP request.

Status codes are grouped: 1xx (informational), 2xx (success), 3xx (redirection), 4xx (client error), 5xx (server error). Essential codes: 200 OK, 201 Created, 204 No Content, 301 Moved Permanently, 302 Found, 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 409 Conflict, 429 Too Many Requests, 500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable.

Proper status code usage is critical for REST API design. Clients and monitoring tools rely on codes to determine success or failure. Using 200 for error responses is an anti-pattern — return appropriate error codes with descriptive messages.

Related Terms

gRPC
A high-performance RPC framework using Protocol Buffers and HTTP/2 for efficient service-to-service communication.
Server-Sent Events (SSE)
A web technology enabling servers to push real-time updates to browsers over a single HTTP connection, simpler than WebSockets.
API (Application Programming Interface)
A set of rules and protocols that allows different software applications to communicate and exchange data.
Lazy Loading
A technique that delays loading non-critical resources until they are needed, improving initial page load performance.
SSR (Server-Side Rendering)
A technique where web pages are rendered on the server and sent as complete HTML to the browser, improving SEO and initial load time.
DOM (Document Object Model)
A programming interface for HTML documents that represents the page structure as a tree of objects that can be manipulated with JavaScript.
View All Web Development Terms →