title: What is the difference between Mongoose Delete and Express app.delete
body: <p>I am learning NodeJS and using MongoDB for a database (mongoose to interact). The current course I am doing is only using the mongoose methods to "Delete" and "Update" and using Express to make a "post" request to do it. ie:</p>
  
  <pre><code>app.post("/delete", function(req, res){
    //do something
    Item.findByIdAndRemove(item, function(err){
    })
  })
  </code></pre>
  
  <p>But if you check the Express basic routing Docs they suggest using:</p>
  
  <pre><code>app.delete('/item', function (req, res) {
    res.send('Got a DELETE request at /item')
  })
  </code></pre>
  
  <p>I know everything should be RESTful and using a POST request to make a DELETE request could cause problems, but in this case are they both accomplishing the same thing? Sorry if this question is newbie or hard to make sense of, It was just something I had noticed while I was reading an article about REST today.</p>