Closed TimothyXu closed 2 years ago
Per lecture 04 about RESTful services, DELETE needs to be idempotent so in particular, even if {item_id} did not exist, when we call DELETE on it there should be no errors and we should still get 204 DELETED. Further the lecture said delete must always return empty message. Updated above to reflect these.
As a system administrator I need to have a nested shopcarts API So that our microservice can be used intuitively as a RESTful service
Details and Assumptions
Per prof: 'To be RESTful you must use POST for create, GET for read, PUT for update, and DELETE for delete. So deleting an item is not an update. It is a deletion and should use the proper HTTP verb DELETE.'
Acceptance Criteria