There are a total of 15 HTTP request methods. According to the HTTP standard, HTTP requests can use various request methods. HTTP1. defined three request methods: GET, POST, and HEAD methods. HTTP1.1 added five more request methods: OPTIONS, PUT, DELETE, TRACE, and CONNECT methods.
| No. | Method | Description |
|---|---|---|
| 1 | GET | Requests the specified page information and returns the entity body. |
| 2 | HEAD | Similar to the GET request, except that the response returned does not have specific content, used to obtain headers. |
| 3 | POST | Submits data to the specified resource for processing (e.g., submitting a form or uploading a file). The data is included in the request body. POST requests may result in the creation of new resources and/or the modification of existing resources. |
| 4 | PUT | Replaces the content of the specified document with the data transmitted from the client. |
| 5 | DELETE | Requests the server to delete the specified page. |
| 6 | CONNECT | Reserved in the HTTP/1.1 protocol for proxy servers that can change the connection to a tunneling mode. |
| 7 | OPTIONS | Allows the client to view the server's capabilities. |
| 8 | TRACE | Echoes the request received by the server, mainly used for testing or diagnostics. |
| 9 | PATCH | The entity contains a list that describes the differences from the original content represented by the URI. |
| 10 | MOVE | Requests the server to move the specified page to another network address. |
| 11 | COPY | Requests the server to copy the specified page to another network address. |
| 12 | LINK | Requests the server to establish a link relationship. |
| 13 | UNLINK | Breaks the link relationship. |
| 14 | WRAPPED | Allows the client to send encapsulated requests. |
| 15 | Extension-method | Allows for the addition of other methods without changing the protocol. |