There are 15 HTTP request methods, and according to the HTTP standard, HTTP requests can use multiple request methods. HTTP 1.0 defines three request methods: GET, POST and HEAD. HTTP 1.1 adds five new request methods: OPTIONS, PUT, DELETE, TRACE and CONNECT.
serial number | method | describe |
---|---|---|
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 obtain the header |
3 | post | Submit data to a specified resource for processing (such as submitting a form or uploading a file). The data is contained in the request body. POST requests may result in the creation of new resources and/or modification of existing resources. |
4 | PUT | Data transmitted from the client side to the server supersedes the content of the specified document. |
5 | DELETE | Requests the server to delete the specified page. |
6 | CONNECT | The HTTP/1.1 protocol is reserved for proxy servers that can pipe connections. |
7 | OPTIONS | Allows the client side to view the performance of the server. |
8 | TRACE | Echo requests received by the server are primarily used for testing or diagnostics. |
9 | PATCH | The entity contains a table that describes the difference from the original content represented by the URI. |
10 | MOVE | The request server moves the specified page to another network address. |
11 | Копировать | Сервер запросов копирует указанную страницу на другой сетевой адрес. |
12 | Ссылка | Запросить сервер установить связь. |
13 | ОТССЫЛКА | Разорви связь. |
14 | ЗАВЕРНУТО | Позволяет клиентской стороне отправлять инкапсулированные запросы. |
15 | Расширение-Mothed | Без изменения соглашения могут быть добавлены дополнительные методы. |