HTTP Articles

All articles

4xx vs 5xx HTTP Errors — What's the Difference?

4xx status codes indicate a problem with the client's request (like invalid input or missing authentication); 5xx status codes indicate the server failed to...

HTTP vs HTTPS — What's the Difference?

HTTP transmits data in plain text between client and server; HTTPS adds a layer of TLS encryption on top of HTTP, protecting data in transit from being read or tampered with.

PUT vs PATCH — What's the Difference?

PUT replaces an entire resource with the representation provided in the request; PATCH applies a partial update, modifying only the specified fields.

HTTP 511 Network Authentication Required — What It Means

What HTTP status code 511 Network Authentication Required means, when servers return it, and how to handle it correctly.

HTTP 505 HTTP Version Not Supported — What It Means

What HTTP status code 505 HTTP Version Not Supported means, when servers return it, and how to handle it correctly.

HTTP 504 Gateway Timeout — What It Means

What HTTP status code 504 Gateway Timeout means, when servers return it, and how to handle it correctly.

HTTP 503 Service Unavailable — What It Means

What HTTP status code 503 Service Unavailable means, when servers return it, and how to handle it correctly.

HTTP 502 Bad Gateway — What It Means

What HTTP status code 502 Bad Gateway means, when servers return it, and how to handle it correctly.

HTTP 501 Not Implemented — What It Means

What HTTP status code 501 Not Implemented means, when servers return it, and how to handle it correctly.

HTTP 451 Unavailable For Legal Reasons — What It Means

What HTTP status code 451 Unavailable For Legal Reasons means, when servers return it, and how to handle it correctly.

HTTP 431 Request Header Fields Too Large — What It Means

What HTTP status code 431 Request Header Fields Too Large means, when servers return it, and how to handle it correctly.

HTTP 429 Too Many Requests — What It Means

What HTTP status code 429 Too Many Requests means, when servers return it, and how to handle it correctly.

HTTP 428 Precondition Required — What It Means

What HTTP status code 428 Precondition Required means, when servers return it, and how to handle it correctly.

HTTP 426 Upgrade Required — What It Means

What HTTP status code 426 Upgrade Required means, when servers return it, and how to handle it correctly.

HTTP 424 Failed Dependency — What It Means

What HTTP status code 424 Failed Dependency means, when servers return it, and how to handle it correctly.

HTTP 423 Locked — What It Means

What HTTP status code 423 Locked means, when servers return it, and how to handle it correctly.

HTTP 422 Unprocessable Entity — What It Means

What HTTP status code 422 Unprocessable Entity means, when servers return it, and how to handle it correctly.

HTTP 421 Misdirected Request — What It Means

What HTTP status code 421 Misdirected Request means, when servers return it, and how to handle it correctly.

HTTP 418 I'm a Teapot — What It Means

What HTTP status code 418 I'm a Teapot means, when servers return it, and how to handle it correctly.

HTTP 417 Expectation Failed — What It Means

What HTTP status code 417 Expectation Failed means, when servers return it, and how to handle it correctly.

HTTP 416 Range Not Satisfiable — What It Means

What HTTP status code 416 Range Not Satisfiable means, when servers return it, and how to handle it correctly.

HTTP 415 Unsupported Media Type — What It Means

What HTTP status code 415 Unsupported Media Type means, when servers return it, and how to handle it correctly.

HTTP 414 URI Too Long — What It Means

What HTTP status code 414 URI Too Long means, when servers return it, and how to handle it correctly.

HTTP 413 Payload Too Large — What It Means

What HTTP status code 413 Payload Too Large means, when servers return it, and how to handle it correctly.

HTTP 412 Precondition Failed — What It Means

What HTTP status code 412 Precondition Failed means, when servers return it, and how to handle it correctly.

HTTP 411 Length Required — What It Means

What HTTP status code 411 Length Required means, when servers return it, and how to handle it correctly.

HTTP 410 Gone — What It Means

What HTTP status code 410 Gone means, when servers return it, and how to handle it correctly.

HTTP 409 Conflict — What It Means

What HTTP status code 409 Conflict means, when servers return it, and how to handle it correctly.

HTTP 408 Request Timeout — What It Means

What HTTP status code 408 Request Timeout means, when servers return it, and how to handle it correctly.

HTTP 407 Proxy Authentication Required — What It Means

What HTTP status code 407 Proxy Authentication Required means, when servers return it, and how to handle it correctly.

HTTP 406 Not Acceptable — What It Means

What HTTP status code 406 Not Acceptable means, when servers return it, and how to handle it correctly.

HTTP 405 Method Not Allowed — What It Means

What HTTP status code 405 Method Not Allowed means, when servers return it, and how to handle it correctly.

HTTP 403 Forbidden — What It Means

What HTTP status code 403 Forbidden means, when servers return it, and how to handle it correctly.

HTTP 402 Payment Required — What It Means

What HTTP status code 402 Payment Required means, when servers return it, and how to handle it correctly.

HTTP 401 Unauthorized — What It Means

What HTTP status code 401 Unauthorized means, when servers return it, and how to handle it correctly.

HTTP 400 Bad Request — What It Means

What HTTP status code 400 Bad Request means, when servers return it, and how to handle it correctly.

HTTP 308 Permanent Redirect — What It Means

What HTTP status code 308 Permanent Redirect means, when servers return it, and how to handle it correctly.

HTTP 307 Temporary Redirect — What It Means

What HTTP status code 307 Temporary Redirect means, when servers return it, and how to handle it correctly.

HTTP 304 Not Modified — What It Means

What HTTP status code 304 Not Modified means, when servers return it, and how to handle it correctly.

HTTP 303 See Other — What It Means

What HTTP status code 303 See Other means, when servers return it, and how to handle it correctly.

HTTP 302 Found — What It Means

What HTTP status code 302 Found means, when servers return it, and how to handle it correctly.

HTTP 301 Moved Permanently — What It Means

What HTTP status code 301 Moved Permanently means, when servers return it, and how to handle it correctly.

HTTP 206 Partial Content — What It Means

What HTTP status code 206 Partial Content means, when servers return it, and how to handle it correctly.

HTTP 204 No Content — What It Means

What HTTP status code 204 No Content means, when servers return it, and how to handle it correctly.

HTTP 202 Accepted — What It Means

What HTTP status code 202 Accepted means, when servers return it, and how to handle it correctly.

HTTP 201 Created — What It Means

What HTTP status code 201 Created means, when servers return it, and how to handle it correctly.

HTTP 200 OK — What It Means

What HTTP status code 200 OK means, when servers return it, and how to handle it correctly.

HTTP 101 Switching Protocols — What It Means

What HTTP status code 101 Switching Protocols means, when servers return it, and how to handle it correctly.

HTTP 100 Continue — What It Means

What HTTP status code 100 Continue means, when servers return it, and how to handle it correctly.

What Is a REST API? Principles Explained Simply

REST is an architectural style for web APIs built around resources, standard HTTP methods, and stateless requests. Learn its core principles with examples.

What Does Idempotent Mean in HTTP? GET, PUT, DELETE Explained

An idempotent HTTP method produces the same result no matter how many times it's repeated. Learn which methods are idempotent and why it matters for retries.

What Is CORS and Why Does It Block My API Requests?

CORS is a browser security mechanism that blocks cross-origin requests unless the server explicitly allows them. Learn how it works and how to fix common CORS errors.

GET vs POST — What's the Difference in HTTP?

GET requests data and should have no side effects; POST submits data and can change server state. Learn the practical differences and when to use each.

HTTP 500 Internal Server Error — What Causes It and How to Debug

A 500 error means the server hit an unexpected condition it couldn't handle. Learn how to find the real cause using server logs and where to start debugging.

HTTP 404 Not Found — What It Means and How to Fix It

A 404 status code means the server couldn't find the requested resource. Learn the common causes on both client and server side, and how to debug it.