Skip to content

HTTP Methods

Mahmoud A. Zaid edited this page Mar 12, 2019 · 1 revision

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.

1. GET

  • Used to retrieve information from the given server using a given URI.

2. POST

  • Used to send data to the server, for example, customer information, file upload.

3. PUT

  • Replaces all the current representations of the target resource with the uploaded.

4. HEAD

  • Asks for a response identical to that of a GET request, but without the response.

5. DELETE

  • Removes all the current representations of the target resource given by URI.

6. CONNECT

  • Establishes a tunnel to the server identified by a given URI.

7. OPTIONS

  • Describe the communication options for the target resource.
Clone this wiki locally