2022-Spring-NYU-DevOps-Shopcarts / shopcarts

Shopcarts squad.
Apache License 2.0
2 stars 2 forks source link

Change the way to delete an item in a certain shopping cart #50

Closed TimothyXu closed 2 years ago

TimothyXu commented 2 years ago

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

TimothyXu commented 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.