Work of a RESTful service

Report a typo

You are working with a service that stores articles. You need to implement the following algorithm:

  • Alternately add articles with ID 1 and 2
  • Get an article with ID 1
  • Delete article with ID 2

Sort the HTTP methods according to the algorithm.

Put the items in the correct order
GET articles/1
PUT articles/2
DELETE articles/2
PUT articles/1
___

Create a free account to access the full topic