标签: web-services restful-architecture
RESTFul主要基于以下四个动作: GET,POST,PUT,DELETE
GET,POST,PUT,DELETE
但是,如果我想将item从location A更改为location B ...我该怎么办?
item
location A
location B
我应该有两个功能吗?
DELETE /item/locationA/1
PUT /item/locationB/1
感谢。