DEV Community

Nozibul Islam
Nozibul Islam

Posted on

11 6 6 6 7

List of key HTTP status codes and their explanations

HTTP Status Codes and Their Meanings.

  1. 200 - Success: The server successfully processed the request.
  2. 201 - Created: The request has been fulfilled, resulting in the creation of a new resource.
  3. 300 - Level status codes: These status codes are all about redirecting.
  4. 301 - Moved Permanently: The page at a certain URL has been permanently moved to a new URL.
  5. 302 - Found: The page is at a new URL, but this is a temporary change.
  6. 304 - Not Modified: The resource being requested has not changed (used for caching).
  7. 400 - Bad Request: The server cannot process the request due to a client error.
  8. 401 - Unauthorized: The client must authenticate itself to get the requested response.
  9. 402 - Payment Required: Payment is required before the server can process the request.
  10. 403 - Forbidden: The client does not have permission to access the content.
  11. 404 - Not Found: The server cannot find the requested resource.
  12. 500 - Internal Server Error: The server encountered a situation it doesn't know how to handle.
  13. 501 - Not Implemented: The server does not recognize or support the request method.
  14. 503 - Service Unavailable: The server is not ready to handle the request.
  15. 504 - Gateway Timeout: The server, while acting as a gateway or proxy, did not receive a timely response from an upstream server.

The document also provides a summary, highlighting that HTTP status codes range from success (200, 201) to various types of errors (400-series and 500-series).

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (1)

Collapse
 
ram_taylorabigadol_421ad profile image
Ram Taylor Abigadol

you forgot the most important one!
418 ;)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay