QuestionQ863

IP Services

Drag and drop the HTTP methods used with REST-based APIs onto their matching descriptions.

Drag & Drop
DELETE
GET
POST
PATCH
PUT
creates a resource and returns its URI in the response header
creates or replaces a previously modified resource using information in the request body
removes a resource
retrieves a list of a resource’s URIs
updates a resource using instructions included in the request body
Explanation

In REST conventions, POST creates a new resource and the server commonly returns the new resource URI in the Location response header. PUT creates or completely replaces the representation of the target resource. DELETE removes the resource. GET retrieves a resource or collection, so a collection endpoint can return the list of resource identifiers/URIs. PATCH applies partial modifications or update instructions contained in the request body rather than replacing the entire resource.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!