【发布时间】:2015-02-20 17:57:16
【问题描述】:
您好,我知道这个问题被问了很多次,但我没有找到答案。
如何使用 AngularJs $resource delete 方法向具有正文的 Web 发送调用?我没能做到。我挣扎了很多,我找到了一些资源说你可以做到。下面是我找到的链接
delete to be method with body
$resource obj.$delete sends the resource as the request body $resource DELETE doesn't set the Request Body if provided
但我不知道如何使用正文进行删除。可以举个例子吗?
谢谢
【问题讨论】:
标签: angularjs httprequest angularjs-resource