REST supports the methods PUT and DELETE, as well as GET and POST - therefore, if your application should work in a browser, you are limited.
The agreement is to use GET to retrieve information, POST to create a new object / object, PUT to update an existing object / object, and DELETE to delete ...
alfasin
source share