There are 15 HTTP request methods in total. According to the HTTP standard, multiple request methods can be used for HTTP requests. HTTP/1.0 defines three request methods: GET, POST, and HEAD methods. HTTP/1.1 adds five new 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 a GET request, but the response contains no 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 a new resource and/or modification of an existing resource. |
| 4 | PUT | Replaces the content of the specified document with data transmitted from the client to the server. |
| 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 pipe 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 explaining 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 connection relationship. |
| 13 | UNLINK | Disconnects the connection relationship. |
| 14 | WRAPPED | Allows the client to send encapsulated requests. |
| 15 | Extension-mothed | Allows additional methods to be added without changing the protocol. |