Research and learn about the different HTTP methods commonly used in RESTful APIs. Focus on the following key methods:
-
GET: Used to retrieve data from a server. Understand when and how to use it, including examples of retrieving resources.
-
POST: Learn how this method is used to send data to a server to create a new resource. Include use cases where POST is necessary.
-
PUT: search how PUT is used to update existing resources on a server, and how it differs from POST.
-
DELETE: Research how the DELETE method is used to remove a resource from a server, with examples of use.
-
PATCH: Understand how PATCH is used to apply partial updates to a resource, and how it compares to PUT.