title: Sending data to app.delete in node.js
body: <p>I am trying to delete a certain input from my database. I cant seem to get the data to come through on an <code>app.delete</code> to know which entry to delete. However <code>app.post</code> gets the data. Here is my code</p>
  
  <p>Client:</p>
  
  <pre><code>let userToDelete = {
      data:entryToDelete
  }
  
  httpRequest.delete(url, userToDelete)
      .then(function (response) {
          //...
  </code></pre>
  
  <p>Server</p>
  
  <pre><code>app.delete('/api/deleteEntry', function(req, res){
      console.log('going to delete', req.body);
      //...
  });
  </code></pre>
  
  <p>now if I change to <code>httpRequest.post</code> and <code>app.post</code>, <code>req.body</code> console logs the data I send. Does a <code>.delete</code> request not get the data?</p>