There are 15 HTTP Request Methods. According to the HTTP standard, HTTP requests can use multiple request methods. HTTP 1.0 defines three request methods: GET, POST and HEAD methods. HTTP1.1 added five new request methods: OPTIONS, PUT, DELETE, TRACE and CONNECT methods.
Number | Method | Description |
---|---|---|
1 | GET | Requests the specified page information and returns the entity body. |
2 | HEAD | is similar to a get request, except that there is no specific content in the returned response , used to get the header |
3 | POST | to submit data to the specified resource for processing requests (such as submitting a form or uploading a file) ). 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 | Data sent from the client to the server replaces the contents of the specified document. |
5 | DELETE | Request the server to delete the specified page. |
6 | CONNECT | HTTP/1.1 protocol is reserved for the ability to change the connection to pipe mode proxy server. |
7 | OPTIONS | Allows the client to view the performance of the server. |
8 | TRACE | Echoes the request received by the server, mainly for testing or diagnosis. |
9 | PATCH | The entity contains a table that describes the difference from the original content represented by the URI. |
10 | MOVE | Request 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 | Request the server to establish a link relationship. |
13 | UNLINK | Unlink. |
14 | WRAPPED | Allows clients to send wrapped requests. |
15 | Extension-mothed | Under the premise of not changing the protocol, another method can be added。 |