HTTP methods are used to specify the type of action that the client wants to perform on a resource on the server.

<aside> 💡 You done NEED to use all the methods, but you always should. You can do everything you want with a GET or POST method, but it is usually advisable to use them right.

</aside>

Common methods

  1. GET - Retrieve data from a server. (Get my TODOS)
  2. POST - Submit data to be processed by a server. (Create a TODO)
  3. PUT - Update or create a resource on the server (Update my todo)
  4. DELETE - Remove a resource from the server. (Delete my todo)

Screenshot 2024-08-25 at 7.13.12 PM.png