An HTTP request method is the type of action to perform on a given resource. The most common request methods are the following:
-
GET: This method retrieves data.
-
POST: This method often creates new resources.
-
PUT: This method replaces an existing resource with an updated version.
-
DELETE: This method deletes the specified resource.
-
PATCH: This method applies partial modifications to a resource.