When you work on RESTFUL service you often hear the terms GET/POST/PUT/DELETE
. My question is what is the idea behind so many verbs? I can achieve everything with the help of GET
verb or if I want to post some large data in the body of the message, I can use POST
verb. I do not think there is a need to think beyond these two verbs.
Do we have any general guideline in terms of when to use which verb? Is there any advantage of using one verb over the other??
PS: I know the idea behind
GET : Get object
PUT : Modify Object
DELETE: Delete Object
POST : Create Object