HTTP methods are used to tell the server what action to perform.
GET - used to get data from server
POST - used to send data to server
PUT - used to update data
DELETE - used to remove data
For example:
When you login, POST is used.
When you view a page, GET is used.
Top comments (0)