HTTP methods are used to specify the action that should be performed on the resource. Below is a list of commonly used HTTP methods:

  • GET: Retrieves data from a specified resource.
  • POST: Submits data to be processed to a specified resource.
  • PUT: Updates a specified resource.
  • DELETE: Deletes a specified resource.
  • PATCH: Applies partial modifications to a resource.
  • HEAD: Retrieves the status line and header section of the response without the response body.
  • OPTIONS: Describes the communication options for the target resource.

HTTP Methods Diagram

For more information about HTTP methods, you can read our comprehensive guide on HTTP Methods.