Exemple #1
0
 def delete(self):
     args = self.parseRequest()
     Service.deleteItem(args)
     return '', 204
Exemple #2
0
 def delete(self):
     # curl -d name="Conjured Mana Cake" -d sell_in=3 -d quality=6
     # http://127.0.0.1:5000/items -X DELETE
     args = self.parseRequest()
     Service.deleteItem(args)
     return '', 204