The set of common methods for HTTP/1.1 is defined below and this set can be expanded based on requirement. 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 only transfer the status line and header section. |
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 Replace all current representations of the target resource with the uploaded content. |
5 |
DELETE Remove all current representations of the target resource given by URI. |
6 |
CONNECT Establish a tunnel to the server identified by a given URI. |
7 |
OPTIONS Describe the communication options for the target resource. |
8 |
TRACE Perform a message loop-back test along the path to the target resource. |
No comments:
Post a Comment