HTTP verbs
HTTP verbs, also known as HTTP methods, are commands that specify the desired action to be carried out on a specific resource. While every method implements a different semantic, all the methods share some common features. The most popular HTTP methods are listed here:
- GET: Using a given URI, this method retrieves data from the specified server. It is the most widely used technique for sending unencrypted data.
- POST: Data from forms is sent to the server using this method. The data sent via
POST
is not cached by the server. - PUT: This technique uploads the content to replace the existing resource.
- DELETE: This command expunges the designated resource.
- HEAD: This method is comparable to
GET
, but it only returns the response’s header rather than its body. - OPTIONS: The target resource’s communication options are returned by this method.
- PATCH: This function partially modifies a resource.
- CONNECT: The client uses this method to...