title: Angular 4 - HTTP delete not working
body: <p>I am trying to create a MEAN crud operation. I have an api in node with the delete http method as so <code>localhost:3000/api/user?id=&lt;some document id&gt;</code>. Below is the angular code I use:</p>
  
  <pre><code>deleteUser(user) {
      console.log("user to delete:" + user._id);
      let myParams = new URLSearchParams();
      myParams.append('id', user._id);
      return this.http.delete('/api/user', { search: myParams })
        .map(res =&gt; res.json());
  }
  </code></pre>
  
  <p>The correct id is being printed to console but I am not able to see even the call being made in the chrome network bar nor has the data being deleted. Any ideas what is going wrong?</p>