Hyper Text Transfer Protocol (HTTP) is an application layer protocol for transmitting hypermedia documents such as html
Here are the most popular HTTP response that you need to know :
200(ok): Request succeeded
301(moved permanently):Signals a permanent redirect from one URL to another, meaning all users that request an old URL will be automatically sent to a new URL
400(bad request):Request message not understood by server
401(unauthorized):the client request has not been completed because it lacks valid authentication credentials for the requested resource
403(forbidden):Request cannot be fulfilled because wrong credentials
404(not found):Page not found
405(method not allowed):Http verb is not allowed for example when you perform a GET when it expects a POST
422(unprocessable entity):Used for validation errors , invalid data has been sent
500(internal server error):Error in your code
Positive Note : You are doing a great work keep it up
Previous:/public/api-beginners/json View Next:/public/api-beginners/api