title: Shows error "Cannot POST" when I try to submit the HTML form
body: <p>I have seen other questions with the same error, but none of the answers seem to work.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;body&gt;
  
  &lt;form action="http://127.0.0.1:8080/del" method="post"&gt;
    First name: &lt;input type="text" name="fname"&gt;&lt;br&gt;
    Last name: &lt;input type="text" name="lname"&gt;&lt;br&gt;
    &lt;input type="submit" value="Submit"&gt;
  &lt;/form&gt;
  
  &lt;p&gt;Click on the submit button, and the input will be sent to a page on the server called "http://127.0.0.1:8080/del".&lt;/p&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>server.js</strong></p>
  
  <pre><code>var express=require('express');
  var body_parser=require('body-parser');
  var request = require('request').defaults({json:true});
  var app=express();
  var del=require('./del'); 
  app.post('./del',del.test);
  var server = app.listen(8080,function(){
      var host="127.0.0.1";
      var port="8080";
      console.log("App is listening at http://%s:%s\n",host,port);
  });
  </code></pre>
  
  <p><strong>del.js</strong></p>
  
  <pre><code>module.exports={
      test: function(){
          console.log("Hello world.");
      }
  };
  </code></pre>
  
  <p>Each time, when I submit the form, it shows </p>
  
  <blockquote>
    <p>Cannot POST /del</p>
  </blockquote>