HTTP requests can use a variety of request methods, depending on the HTTP standard.
HTTP1.0 defines three methods of request: GET, POST, and head.
HTTP1.1 has five new request methods: Options, PUT, DELETE, TRACE, and CONNECT methods.
HTTP Request Method
Total 15 Kinds
Serial Number |
Method |
Description |
1 |
GET |
Requests the specified page information and returns the entity principal. |
2 |
HEAD |
Similar to a GET request, except that there is no specific content in the returned response to get the header |
3 |
POST |
Submits data to the specified resource for processing requests (such as submitting a form or uploading a file). The data is included in the request body. A POST request may result in the creation of new resources and/or modification of existing resources. |
4 |
PUT |
Supersedes the contents of the specified document from the data that the client sends to the server. |
5 |
DELETE |
Requests that the server delete the specified page. |
6 |
CONNECT |
The http/1.1 protocol is reserved for proxy servers that can change connections to pipelines. |
7 |
OPTIONS |
Allows clients to view server performance. |
8 |
TRACE |
echo the requests received by the server, primarily for testing or diagnostics. |
9 |
PATCH |
The entity contains a table that describes the differences from the original content represented by the URI. |
10 |
MOVE |
The requesting server moves the specified page to another network address. |
11 |
COPY |
The requesting server copies the specified page to another network address. |
12 |
LINK |
Requests that the server establish a link relationship. |
13 |
UNLINK |
Disconnects the link relationship. |
14 |
Wrapped |
Allows the client to send encapsulated requests. |
15 |
Extension-mothed |
Additional methods can be added without altering the protocol. |
HTTP request Method Comparison table