DEV Community

Cover image for 🟣🟢Do you know what is https status code
Brain CodeDesign
Brain CodeDesign

Posted on

🟣🟢Do you know what is https status code


If you people encounter with such error message Like 404,301 while browsing on internet then you should definitely know about http status code

This type of message called http status code there are numerous Http status code ranging from 100-500

Let's jump in to this

Table of content

✅Http status code

✅Classification

↘️Informational response (100–199)

↘️Successful response (200–299)

↘️Redirection message (300–399)

↘️Client error response (400–499)

↘️Server error response (500–599)

when ever client send a request to the server every time server response this request in the from of http status code

These are codes the server can generate in response to HTTP requests

HTTP status codes are three-digit codes, and are grouped into five different classes

1️⃣1xx (Informational response)

It means the request has been received and the process is continuing.

The informational response is classify as:

✅100 - Continue.

✅101 - Switching protocols.

2️⃣ 2xx (Success response )

It means the action was successfully received,understood,accepted.

The 2xx response is classify as:

✅200:The request is OK

✅201:The request has been created

✅202:The request has been accepted for processing, but the processing has not been completed
✅204 : The server successfully processed the request, and is not returning any content

3️⃣3xx (Redirection message)

It means further action must be taken in order to complete the request.

The 3xx is classify as:

✅301:The 301 status tells that the request has moved permanently to a new URL

✅302:The 302 HTTP status tell that requested page exists at different URL

4️⃣ 4xx (Client Error)

It means the request contains incorrect syntax or incorrect url.

The 4xx is classify as:

✅402:this response indicates that the user not made the required payment.

✅404:The content you are trying to looking for in a website is not present in server

5️⃣5xx (Server Error)

It means the server failed to fulfill thevalid request.

The 5xx is classify as:

✅500:The server is unable to fulfill the request due to an unexpected condition.

✅503:The server cannot handle the request because it has run out of resources
✅505 : The server doesn’t support the HTTP protocol version used in the request. Using an outdated web browser usually triggers this response code.

key takeaway

  • These status codes serve as a means of communication between the server and the internet browser

  • HTTP status codes are generated by the server that's hosting the site when it responds to a request made by a client

That's wrap up

Thanks for reading

Do consider to

like ♥️
Comment 💬

And follow me @learnwithbrain
For more

Means Alot 💙

Top comments (0)