In -depth understanding of the HTTP method and status code.
http method
Category:
-
1xx (informatia): The request has been received and continues.
2xx (Success):
The request has been successfully received, understood and accepted. -
200 ok: The most common situation, indicating the success of the request.
- 3xx (redirect): You need to further operate to complete the request.
301 Moved Permanently: - Resources have moved to the new URL.
302 Found:
Resources are temporarily found in different URLs. -
4xx (client error):
The request contains the error syntax or cannot be completed.
- 404 Not Found: The server cannot find the resource of the request (for example, the webpage that does not exist).
-
5xx (server error): The server fails to complete the obvious effective request.
- 500 Internet Server Error: General error message, indicate that there are problems with the server side.
-
importance
The above is the detailed content of Explanation on http method and http code. For more information, please follow other related articles on the PHP Chinese website!