HTTP request method
According to the HTTP standard, HTTP requests can use multiple request methods.
HTTP1.0 defines three request methods: GET
, POST
and HEAD
method.
Six request methods have been added to HTTP1.1: OPTIONS
、 PUT
、 PATCH
、 DELETE
、 TRACE
and CONNECT
method.
Serial number |
Method |
Description |
---|---|---|
1 |
|
Requests the specified page information and returns the entity body. |
2 |
|
Similar to a GET request, except that there is no specific content in the returned response, which is used to get the header |
3 |
|
Submit data to the specified resource for processing requests (such as submitting a form or uploading a file). The data is contained in the requestbody. POST requests may result in the creation of new resources and / or modification of existing resources. |
4 |
|
The data transferred from the client to the server replaces the contents of the specified document. |
5 |
|
Request the server to delete the specified page. |
6 |
|
The HTTP/1.1 protocol is reserved for proxy servers that can change connections to pipelines. |
7 |
|
Allows clients to view the performance of the server. |
8 |
|
Echo requests received by the server, mainly for testing or diagnostics. |
9 |
|
It is a supplement to the PUT method and is used to locally update known resources. |