There are 15 HTTP Request Methods. According to the HTTP standard, HTTP requests can use multiple request methods. HTTP1.0 defines three kinds of request methods: GET, POST and HEAD. HTTP1.1 adds five new request methods: OPTIONS, PUT, DELETE, TRACE and CONNECT.
Serial number | Method | Description |
---|---|---|
1 | GET | Requests information about a specified page and returns the body of the entity. |
2 | HEAD | Similar to get request, except that there is no specific content in the returned response, which is used to get the header. |
3 | POST | Submits data to the specified resource to process the request (e.g., submit a form or upload a file). The data is included in the request body. a POST request may result in the creation of a new resource and/or the modification of an existing resource. |
4 | PUT | The data transmitted from the client to the server replaces the contents of the specified document. |
5 | DELETE | The server is requested to delete the specified page. |
6 | CONNECT | HTTP/1.1 protocol is reserved for proxy servers that can change the connection to a pipeline. |
7 | OPTIONS | Allows the client to view the performance of the server. |
8 | TRACE | Displays back requests received by the server, primarily for testing or diagnostic purposes. |
9 | PATCH | The entity contains a table that describes the difference from the original content represented by this 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 | The requesting server establishes a link relationship. |
13 | UNLINK | Break the linking relationship. |
14 | WRAPPED | Allows the client to send encapsulated requests. |
15 | Extension-mothed | Additional methods can be added without changing the protocol. |