title: Angular 2 Http delete send json in body
body: <p>Could Angular2 send json body via http method delete ?</p>
  
  <p>I try it and it said error </p>
  
  <pre><code>ORIGINAL EXCEPTION: options.search.clone is not a function
  </code></pre>
  
  <p>service.ts</p>
  
  <pre><code>deletetag(tagid: number): Observable&lt;any&gt; {
  
      let body = JSON.stringify(
          {
              "token": "test",
              "content": {
                  "tagId": tagid
              }
          }
      );
  
      let headers = new Headers({ 'Content-Type': 'application/json' });
      let options = new RequestOptions({ headers: headers });
  
      return this.http.delete("http://localhost:8080/backend/tag", body, options)
          .map(res =&gt; this.extractData(res))
          .catch(this.handleError);
  }
  </code></pre>
  
  <p>component.ts</p>
  
  <pre><code>this.tagService.deletetag(1)
     .subscribe(
        data =&gt; { },
        error =&gt; { },
        () =&gt; { }
     );
  </code></pre>