Method and Description
FOR HTTP
The set of common methods for HTTP/1.1 is defined below and this set can be expanded based on requirements. These method names are case sensitive and they must be used in uppercase.
| S.N. | Method and Description |
|---|---|
| 1 | GET The GET method is used to retrieve information from the given server using a given URI. Requests using GET should only retrieve data and should have no other effect on the data. |
| 2 | HEAD Same as GET, but transfers the status line and header section only. |
| 3 | POST A POST request is used to send data to the server, for example, customer information, file upload, etc. using HTML forms. |
| 4 | PUT Replaces all current representations of the target resource with the uploaded content. |
| 5 | DELETE Removes all current representations of the target resource given by a URI. |
| 6 | CONNECT Establishes a tunnel to the server identified by a given URI. |
| 7 | OPTIONS Describes the communication options for the target resource. |
| 8 | TRACE Performs a message loop-back test along the path to the target resource. |

No comments:
Post a Comment