title: why i cant get data from html form using post method?
body: <p>i have using ejs engine to get and post method.When i use <a href="http://localhost:8080/signup" rel="nofollow noreferrer">http://localhost:8080/signup</a>, i will get a sigup form where i can input my values. The problem is after submitting the form,i am unable console the value of "req.body". Help me?</p>
  
  <pre><code>app.post('/signup',urlencodedParser,function(req,res){
      //console.log(req)
      var names = req.body;
      console.log(names);
      res.end("sigup submitted");
  });
  </code></pre>
  
  <pre><code>app.get('/signup', function(req, res) {///////////signup ejs loading
      res.render('signup')
  });
  </code></pre>
  
  <pre><code>&lt;form id="signupForm" enctype="multipart/form-data" method="post" action=""&gt;
        &lt;div class="container"&gt;
      &lt;h1&gt;Sign Up&lt;/h1&gt;
      &lt;p&gt;Please fill in this form to create an account.&lt;/p&gt;
      &lt;hr&gt;
       &lt;label for="name"&gt;&lt;b&gt;Company Name&lt;/b&gt;&lt;/label&gt;
      &lt;input type="text" placeholder="Company Name" name="name" required&gt;
  
      &lt;label for="email"&gt;&lt;b&gt;Email&lt;/b&gt;&lt;/label&gt;
      &lt;input type="text" placeholder="Enter Email" name="email" required&gt;
  
      &lt;label for="psw"&gt;&lt;b&gt;Password&lt;/b&gt;&lt;/label&gt;
      &lt;input type="password" placeholder="Enter Password" name="psw" required&gt;
  
      &lt;label for="psw-repeat"&gt;&lt;b&gt;Repeat Password&lt;/b&gt;&lt;/label&gt;
      &lt;input type="password" placeholder="Repeat Password" name="psw-repeat" required&gt;
  
      &lt;label for="psw-repeat"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/label&gt;
      &lt;input type="text" placeholder="Address" name="address" required&gt;
  
  
      &lt;label&gt;
        &lt;input type="checkbox" checked="checked" name="remember" style="margin-bottom:15px"&gt; Remember me
      &lt;/label&gt;
  
      &lt;p&gt;By creating an account you agree to our &lt;a href="#" style="color:dodgerblue"&gt;Terms &amp; Privacy&lt;/a&gt;.&lt;/p&gt;
  
      &lt;div class="clearfix"&gt;
        &lt;button type="button" class="cancelbtn"&gt;Cancel&lt;/button&gt;
        &lt;button type="submit" class="signupbtn"&gt;Sign Up&lt;/button&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/form&gt;
  
  </code></pre>