For deleting a resource in REST, what HTTP method is implemented?
- DELETE
- PATCH
- POST
- PUT
The DELETE method in REST is used to delete a resource. It requests the removal of the specified resource, and the operation is idempotent, meaning that subsequent requests have no additional effect once the resource is deleted.
Loading...
Related Quiz
- The technique of using _______ tokens can help in preventing CSRF, which is often confused with XSS.
- What is the difference between OAuth and OAuth2 in terms of authorization?
- The ability of different web services to exchange data effectively is often referred to as _______.
- A more secure alternative to RSA, often used in mobile web services, is _________ cryptography.
- For microservices, what strategy should be adopted for effective unit testing?