HTTP request method


Release date:2024-02-27 Update date:2024-02-28 Editor:admin View counts:56

Label:

HTTP request method

According to the HTTP standard, HTTP requests can use multiple request methods.

HTTP1.0 defines three request methods: GET , POST and HEAD method.

Six request methods have been added to HTTP1.1: OPTIONSPUTPATCHDELETETRACE and CONNECT method.

Serial number

Method

Description

1

GET

Requests the specified page information and returns the entity body.

2

HEAD

Similar to a GET request, except that there is no specific content in the returned response, which is used to get the header

3

POST

Submit data to the specified resource for processing requests (such as submitting a form or uploading a file). The data is contained in the requestbody. POST requests may result in the creation of new resources and / or modification of existing resources.

4

PUT

The data transferred 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

The HTTP/1.1 protocol is reserved for proxy servers that can change connections to pipelines.

7

OPTIONS

Allows clients to view the performance of the server.

8

TRACE

Echo requests received by the server, mainly for testing or diagnostics.

9

PATCH

It is a supplement to the PUT method and is used to locally update known resources.

Powered by TorCMS (https://github.com/bukun/TorCMS).