|
Answer» There are various types of HTTP methods and they can be used according to the requirements. These methods are case-sensitive and they must used in UPPERCASE. - GET – The GET method is used to get or retrieve the information from the respective server using a given URI.
- HEAD – This is the same as GET, but transfers the STATUS LINE and header section only.
- PUT – It is used for update and it replaces all current resources with the uploaded content.
- POST – A POST request is used to send data to the respective server.
- DELETE – Deletes or removes all current resources given by a URI.
- OPTIONS – Describes the communication options for the target resource.
- CONNECT – Establishes a tunnel to the server identified by a given URI.
- TRACE – Performs a message loop-back test along the path to the target resource.
AMONG these methods GET/PUT/POST/DELETE are the most popular methods.
|