I saw some websites design the API by using POST
to delete an item, some use DELETE
with parameters to delete the item. which one is more appropriate?
POST
https://xxx/item_delete
request body
item: "ABC"
matured: "True"
or DELETE
https://xxx/item_delete/ABC