Comparison table of HTTP request methods — 15 types of HTTP Request Method
According to the HTTP standard, HTTP requests can use multiple request methods.
HTTP 1.0 defines three request methods: GET, POST and HEAD methods.
HTTP1.1 adds five new request methods: OPTIONS, PUT, DELETE, TRACE, and CONNECT methods.
|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 a specified resource for processing requests (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||The data transmitted from the client to the server replaces the contents 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 change the connection to pipe mode.|
|7||OPTIONS||Allow clients to view server performance.|
|8||TRACE||Echo the request received by the server. It is mainly used for testing or diagnosis.|
|9||PATCH||The entity contains a table that explains the differences from the original content represented by the URI.|
|10||MOVE||Requests the server to move the specified page to another network address.|
|11||COPY||Ask the server to copy the specified page to another network address.|
|12||LINK||Request the server to establish a link relationship.|
|14||WRAPPED||Allows the client to send encapsulated requests.|
|15||Extension-mothed||Without changing the agreement, additional methods can be added.|