Exam4Training

What HTTP method in a RESTful web service is typically used to completely replace an existing resource?

What HTTP method in a RESTful web service is typically used to completely replace an existing resource?
A . GET
B. PATCH
C. PUT
D. POST

Answer: C

Explanation:

PUT replaces the original version of the resource, whereas the PATCH method supplies a set of instructions to modify the resource

Exit mobile version