mrbrownnn / ManageStudent_project

Manager Student _Author by Student
0 stars 0 forks source link

HTTP status code #27

Open mrbrownnn opened 1 week ago

mrbrownnn commented 1 week ago

400 Bad Request The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

403 Forbidden The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.

404 Not Found The server cannot find the requested resource. In the browser, this means the URL is not recognized. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 Forbidden to hide the existence of a resource from an unauthorized client. This response code is probably the most well known due to its frequent occurrence on the web.

408 Request Timeout This response is sent on an idle connection by some servers, even without any previous request by the client. It means that the server would like to shut down this unused connection. This response is used much more since some browsers, like Chrome, Firefox 27+, or IE9, use HTTP pre-connection mechanisms to speed up surfing. Also note that some servers merely shut down the connection without sending this message.

500 Internal Server Error The server has encountered a situation it does not know how to handle.

502 Bad Gateway This error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response.

mrbrownnn commented 1 week ago

image Mẫu file HTTP status cho web