0

当我销毁模型(DELETE)时,id 是直接进入查询字符串(/rest/id)还是请求有效负载(http 正文中的 json)中?

4

1 回答 1

2

是的,它确实。

create → POST   /collection
read → GET   /collection[/id]
update → PUT   /collection/id
delete → DELETE   /collection/id
于 2013-05-01T17:48:51.063 回答