title: What is the reason req.body is displayed as undefined?
body: <p>Hi i am making a blog with node js. And now I am implementing the function to write a post, but there is a problem in this process.</p>
  <p>new.ejs is a screen for creating a post.</p>
  <p>new.ejs</p>
  <pre><code>&lt;div&gt;
        &lt;h2&gt; new post &lt;/h2&gt;
        &lt;form action=&quot;/articles&quot; method = &quot;POST&quot;&gt;
              &lt;h4&gt;title&lt;/h4&gt;
              &lt;input required type=&quot;text&quot; name = &quot;title&quot; / class='form-control'&gt;&lt;br&gt;              
              &lt;h4&gt;description&lt;/h4&gt;
              &lt;textarea  name=&quot;description&quot; class = 'form-control'&gt;&lt;/textarea&gt;&lt;br&gt;
              &lt;h4&gt;contents&lt;/h4&gt;
              &lt;textarea id=&quot;mytextarea&quot; name=&quot;contents&quot; rows = '10'&gt;&lt;/textarea&gt;
              &lt;a href=&quot;/&quot; class =&quot;btn btn-secondary&quot;&gt;취소&lt;/a&gt;&lt;button type = &quot;submit&quot; class=&quot;btn btn-primary&quot;&gt;저장&lt;/button&gt;
          &lt;/form&gt;
      &lt;/div&gt;
  </code></pre>
  <p>and
  article.js</p>
  <pre><code>var express = require(&quot;express&quot;);
  var app = express();
  var router = express.Router();
  var bodyParser = require(&quot;body-parser&quot;);
  
  app.use(bodyParser.urlencoded({ extended: true }));
  
  router.get(&quot;/&quot;, function (req, res) {
    res.send(&quot;article&quot;);
  });
  
  router.get(&quot;/new/home&quot;, function (req, res) {
    res.render(&quot;articles/index&quot;);
  });
  
  router.get(&quot;/new&quot;, function (req, res) {
    res.render(&quot;articles/new&quot;);
  });
  
  router.post(&quot;/&quot;, function (req, res) {
    console.log(req.body.title);
  });
  
  module.exports = router; 
  </code></pre>
  <p>Here, when req.body.title is executed, req.body becomes undefined. And in the code editor window, a sentence stating that bordyParser has been deprecated appears as the middle line is drawn. How to solve it</p>