The HTTP methods that we will be implementing correspond with each of the CRUD operations (Create, Read, Update, Delete). This course covers GET, POST, PUT, & DELETE. These methods indicate the type of action that is being performed by a user.
GET is our read operation. It is used to read or get data from our database/collection. It does not change the state of any of our data.
POST is used to create brand new pieces of data. This is not used to modify or replace data.
PUT is used to update existing data. The entire data object should be sent along with a PUT request, not just the properties being modified.
DELETE is used to delete data and remove it from our collection.