title: Express PUT and DELETE method not working
body: <p>I'm using express for my project. I didn't follow the rules of creating REASTFUL api since begging of project.Now I'm trying to update my fields with PUT method and express is sending 404 message(cannot GET ...).And this is happening to my DELETE method too.
  Here goes my view page code for updating :</p>
  
  <pre><code>&lt;form action="/edited/&lt;%= resul[0].name %&gt;" method="PUT"&gt;
      &lt;label class="label"&gt;Name&lt;/label&gt;
          &lt;input class="input" type="text" name="name" " value="&lt;%= resul[0].name %&gt;"&gt;
      &lt;label class="label"&gt;description&lt;/label&gt;
          &lt;input class="input" type="text" name="desc" value="&lt;%= resul[0].desc %&gt;"&gt;
          &lt;button type="submit"&gt;DONE&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>And here is express part (by the way I'm using Rethinkdb):</p>
  
  <pre><code>app.put("/edited/:name", function(req , res){
  r.table('words').filter({name: req.params.name}).update([
  { name: req.body.name, desc:'some update on description'}
  ]).run().then(function(result,err){
            if(err) throw err;
            res.send('edited correcly');  
           });
  });
  </code></pre>
  
  <p>When I try to update something , uri changes like : <br>
  <code>http://localhost:3000/edited/test?name=changedtest&amp;desc=something</code><br>
  And error is showsn:<br><code>Cannot GET /edited?name=changedtest&amp;desc=something</code>
  <br>
  Same thing happens for DELETE.<br>
  And surprisingly when I implemented deleting with GET method that worked.<p>
  What's going on? how to solve this ?
  <br>Do we have to use exact specified http method for specific tasks?(like always DELETE for deleting and...)<br>Thank you.</p>