标签: javascript jquery backbone.js
当我销毁模型(DELETE)时,id是直接在查询字符串(/ rest / id)中还是在请求有效负载中(http体中的json)?
答案 0 :(得分:1)
是的。
create → POST /collection read → GET /collection[/id] update → PUT /collection/id delete → DELETE /collection/id