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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments