Exam MCD - Level 1 All QuestionsBrowse all questions from this exam
Question 43

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

    Correct Answer: D

    The HTTP method PUT is typically used to completely replace an existing resource in a RESTful web service. PUT updates the resource at the specified URI with the new data provided in the request body, effectively replacing the entire resource.

Discussion
sirious09Option: D

D is correct

kampatraOption: D

PUT is correct answer

ilya_tsyOption: D

PUT - replace entire resource PATCH - update part of the resource