QuestionQ16Verified/IntegrationCopy linkReport a problemAsk AstroTutorSave questionWhat distinguishes the PUT and PATCH operations?Choose twoAThe PUT method updates an instance of a resource by replacing the existing resource with the resource provided in the request body.BThe PUT method is an HTTP method that updates values in an existing resource using only the desired values in the request body.CThe PATCH method is an HTTP method that updates values in an existing resource using only the desired values in the request body.DThe PATCH method updates an instance of a resource by replacing the existing resource with the resource provided in the request body.EThe PUT method is an HTTPS method that updates values in an existing resource using only the desired values in the request body.Show AnswerAnswerExplanationPUT requests that the target resource’s state be created or replaced by the representation in the request content. PATCH is defined for partial modifications to a resource, allowing only the intended values to be updated. RFC 9110: HTTP Semantics and RFC 5789: PATCH Method for HTTP define these semantics.Learn moreRFC 9110 — HTTP Semantics, PUTRFC 5789 — PATCH Method for HTTPShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion