title: Express application returns empty body
body: <p>My express application returns {} when it gets a request.</p>
  <pre><code>const express = require('express');
  const bcrypt = require('bcrypt');
  const bodyParser = require('body-parser');
  const app = express();
  
  app.use(bodyParser.urlencoded ({ extended: false }));
  
  app.post(&quot;/register&quot;, async (req, res) =&gt; {
          res.send(req.body);
          console.log(req.body);
  });
  </code></pre>
  <p>This is the html that I am using to send the form</p>
  <pre><code>&lt;div class=&quot;login-form&quot;&gt;
  
    &lt;div class=&quot;control-group&quot;&gt;
      &lt;input type=&quot;text&quot; class=&quot;login-field&quot; placeholder=&quot;username&quot; id=&quot;username&quot; name=&quot;username&quot; required&gt;
      &lt;label class=&quot;login-field-icon fui-user&quot; for=&quot;login-name&quot;&gt;&lt;/label&gt;
    &lt;/div&gt;
  
    &lt;div class=&quot;control-group&quot;&gt;
      &lt;input type=&quot;password&quot; class=&quot;login-field&quot; placeholder=&quot;password&quot; id=&quot;password&quot; name=&quot;password&quot; required&gt;
      &lt;label class=&quot;login-field-icon fui-lock&quot; for=&quot;login-pass&quot;&gt;&lt;/label&gt;
    &lt;/div&gt;
  
    &lt;button class=&quot;btn btn-primary btn-large btn-block&quot; type=&quot;submit&quot;&gt;register&lt;/button&gt;
    &lt;a class=&quot;login-link&quot; href=&quot;login.html&quot;&gt;Already have an account?&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>