HTTP Status codes
Just kidding... Have you ever come across this message when you try to access a certain web page? Ever wondered what 404 stands for? In this mini blog we are going to look at some widely used status codes in HTTP. Types of HTTP Status codes 1xx : Informational Status code. These codes keeps the client informed of basic headers. 2xx : These codes reflect a successful response or operation 3xx : Redirection codes 4xx : Client Error codes (404) 5xx : Server Error codes Now, we'll look at some commonly used status codes. 2xx 200 - OK Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. 201 - Creat This status code is sent as a response when the request was a POST method. If the POST request was successfully sent and processed, we get a 201 status code. 204 - No Content The request was successful...