HTTP Status Codes

HTTP Status Codes

HTTP Status

HTTP response status codes indicate whether a specific http request has been successfully completed.

HTTP status codes are 3 digit numbers divided into categories.

Category

  • 1XX - Information responses
  • 2XX - Success responses
  • 3XX - Redirection responses
  • 4XX - Client error responses
  • 5XX - Server error responses

image.png

1XX - Information

The request is received and the process is continuing

  • 100 - Continue
  • 101 - Switching protocols
  • 102 - Processing

2XX - Success

The action was successfully completed

  • 200 - Ok
  • 201 - Created
  • 202 - Accepted
  • 203 - Non-Authoritative information
  • 204 - No content
  • 205 - Reset content
  • 206 - Partial content

3XX - Redirection

Redirects from one address to another

  • 301 - Moved permanently
  • 302 - Found
  • 304 - Not modified
  • 305 - Use proxy
  • 307 - Temporary redirect
  • 308 - Permanent redirect

4XX - Client error

Request cannot be fulfilled as it contains incorrect syntax

  • 400 - Bad request
  • 401 - Unauthorized
  • 402 - Payment required
  • 403 - Forbidden
  • 404 - Not found
  • 405 - Method not allowed
  • 406 - Not acceptable
  • 407 - Proxy authentication required
  • 408 - Request timeout
  • 409 - Conflict
  • 410 - Gone
  • 411 - Length required
  • 412 - Precondition failed
  • 413 - Payload too large
  • 414 - URI too long
  • 415 - Unsupported media type
  • 417 - Expectation failed
  • 426 - Upgrade required

5XX - Redirection

The server failed due to fulfilling a valid request

  • 500 - Internal serval error
  • 502 - Bad gateway
  • 503 - Service unavailable
  • 504 - Gateway Timeout
  • 505 - HTTP version not supported
  • 511 - Network authentication required

Conclusion

This is the end of the blog. Make sure to give a follow if you liked this.
Thanks💛