HTTP request method
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.
|
|
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. |
HTTP request method