HTTP methods, also known as verbs, are used to indicate the action that should be performed on the resource. Below are the commonly used HTTP methods:

  • GET: Retrieve information from the server.
  • POST: Send data to the server to create or update a resource.
  • PUT: Replace all current representations of the target resource with the data sent in the request body.
  • DELETE: Remove the target resource from the server.
  • PATCH: Apply partial modifications to a resource.

HTTP Methods Diagram

For more detailed information on HTTP methods, you can read the HTTP Methods Documentation.