I\'m trying to talk to a somewhat RESTful API from an Angular 2 frontend.
To remove some item from a collection, I need to send some other data in addition to the re
deleteInsurance(insuranceId: any) { const insuranceData = { id : insuranceId } var reqHeader = new HttpHeaders({ "Content-Type": "application/json", }); const httpOptions = { headers: reqHeader, body: insuranceData, }; return this.http.delete(this.url + "users/insurance", httpOptions); }