更新时间:2023-12-06 16:06:40
您可以在HttpClient类上使用通用的request
方法.此方法具有主体选项.
https://angular.io/api/common/http/HttpClient#members
例如
this.http.request('delete', 'url', { body: ... })
You may use a universal request
method on the HttpClient class instead. This method has the body in options.
https://angular.io/api/common/http/HttpClient#members
e.g
this.http.request('delete', 'url', { body: ... })