There are 15 HTTP request methods. According to the HTTP standard, various request methods can be used. HTTP 1.0 defines three methods: GET, POST, and HEAD. HTTP 1.1 adds five new methods: OPTIONS, PUT, DELETE, TRACE, and CONNECT.
No. | Method | Description |
---|---|---|
1 | GET | Requests specific page information and returns the entity body. |
2 | HEAD | Similar to GET but only retrieves the header information without the body. |
3 | POST | Submits data to be processed to a specified resource (e.g., form submission or file upload). The data is included in the request body. POST may create new resources and/or modify existing ones. |
4 | PUT | Replaces the content of the specified document with data sent from the client. |
5 | DELETE | Requests the server to delete the specified page. |
6 | CONNECT | Reserved for use with a proxy that can switch to a tunnel connection in the HTTP/1.1 protocol. |
7 | OPTIONS | Allows the client to determine the capabilities of the server. |
8 | TRACE | Echoes the request received by the server, mainly used for testing or diagnosis. |
9 | PATCH | Contains a set of changes to apply to the resource identified by the URI. |
10 | MOVE | Requests the server to move the specified page to another address. |
11 | COPY | Requests the server to copy the specified page to another address. |
12 | LINK | Requests the server to establish a link relationship. |
13 | UNLINK | Removes a link relationship. |
14 | WRAPPED | Allows the client to send an encapsulated request. |
15 | Extension-method | Allows additional methods to be added without modifying the protocol. |
© 2024 NoxToolbox