2.3. HTTP Methods

2.3.1. Rationale

  • GET - Read

  • POST - Create

  • PUT - Update/Replace

  • PATCH - Partial Update/Modify

  • DELETE - Delete

  • HEAD - Show Headers

  • CONNECT - Connect

  • OPTIONS - Show HTTP Methods

  • TRACE - Show Trace

2.3.2. GET

Requests using GET should only retrieve data and should have no other effect.

2.3.3. POST

The POST method requests that the server accept the entity enclosed in the request as a new subordinate of the web resource identified by the URI.

2.3.4. PUT

The PUT method requests that the enclosed entity be stored under the supplied URI.

2.3.5. PATCH

The PATCH method applies partial modifications to a resource.

2.3.6. DELETE

The DELETE method deletes the specified resource.

2.3.8. CONNECT

The CONNECT method converts the request connection to a transparent TCP/IP tunnel, usually to facilitate SSL-encrypted communication (HTTPS) through an unencrypted HTTP proxy.

2.3.9. OPTIONS

The OPTIONS method returns the HTTP methods that the server supports for the specified URL.

2.3.10. TRACE

The TRACE method echoes the received request so that a client can see what (if any) changes or additions have been made by intermediate servers.