Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var headers = this.getHeaders();
- var body = "flag="+flag+"&_id="+id;
- return this.http.put(this.baseUrl+'api/admin/deleteData', body, {headers:headers})
- .map(response => response.json())
- .catch(this.errorHandler);
Add Comment
Please, Sign In to add comment