Let understand basic HTTP codes in romantic ways. It could be a simple “yes,” a sad “no”. When request is sent out to the server and the browser awaits an answer. These answers come in the form of an HTTP code.

200 : Success

HTTP Code 200 generally means the request has succeeded. The meaning of a success varies depending on the HTTP method:
GET: The resource has been fetched and is transmitted in the message body.
HEAD: The entity headers are in the message body.
PUT or POST: The resource describing the result of the action is transmitted in the message body.
TRACE: The message body contains the request message as received by the server.

400 : Bad Request

This response means that server could not understand the request due to invalid syntax.

401 : Unauthorized

The request has not been applied because it lacks valid authentication credentials for the target resource.

403 : ForBidden

The server understood the request but refuses to authorize it.

404 : Not Found

The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

422 : Unprocessable Entity 

The request was well-formed but was unable to be followed due to semantic errors.

500 : Internal Server Error

The server encountered an unexpected condition that prevented it from fulfilling the request.


Thanks

Hope you learned something new today.

Enjoy!!

If you enjoyed reading this post, please share and recommend it so others can find it 💚💚💚💚💚💚 !!!!

If you have any comment, question, or recommendation, feel free to post them in the comment section below!