9 HTTP Methods Every Developer Should Know!

9 HTTP Methods Every Developer Should Know!

The most commonly-used HTTP methods are POST, GET, PUT, PATCH, and DELETE.

These methods correspond to create, read, update, and delete (or CRUD) operations, respectively.

There are a number of other methods, too, but they are utilised less frequently.

1. GET

Retrieve information from the server using a given URI.

2. HEAD

Same as GET, but transfers the status line and header section only.

3. POST

Send data to the server.

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. PATCH

Partial modifications to a resource.

9. TRACE

Performs a message loop-back test along the path to the target resource, providing a useful debugging mechanism.

Follow Us

Posted By : Sudeer Kamat Date :

view_module Related

label Labels

Comments 0