Google News
logo
Rest API - Interview Questions
What are the HTTP methods supported by REST?
GET : This requests a resource at the request URL. It should not contain a request body as it will be discarded. It can be cached locally or on the server.

POST : This submits information to the service for processing; it should typically return the modified or new resource.

PUT : At the request URL, this updates the resource.

DELETE : At the request URL, this removes the resource.

OPTIONS : This indicates which techniques are supported.

HEAD : This returns meta-information about the request URL.
Advertisement