HTTP Request Method Comparison Table
HTTP Request Method Comparison Table
HTTP request method comparison table
Serial number | Method | Description |
---|---|---|
1 | GET | Request the specified page information and return the entity body. |
2 | HEAD | Similar to a get request, except that the response returned does not contain specific content. It is used to obtain headers. |
3 | POST | Submits data to the specified resource to process the request (such as submitting a form or uploading a file). The data is contained in the request body. A POST request may result in the creation of new resources and/or the modification of existing resources. |
4 | PUT | The data sent from the client to the server replaces the content of the specified document. |
5 | DELETE | Request the server to delete the specified page. |
6 | CONNECT | The HTTP/1.1 protocol is reserved for proxy servers that can change the connection to a pipeline mode. |
7 | OPTIONS | Allows the client to view the performance of the server. |
8 | TRACE | Echoes the request received by the server, mainly used for testing or diagnosis. |
9 | PATCH | The entity contains a table that describes the difference with the original content represented by the URI. |
10 | MOVE | Request the server to move the specified page to another network address. |
11 | COPY | Request the server to copy the specified page to another network address. |
12 | LINK | Request the server to establish a link relationship. |
13 | UNLINK | Disconnect the link relationship. |
14 | WRAPPED | Allow the client to send an encapsulated request. |
15 | Extension-mothed | Additional methods can be added without changing the protocol. |