title: req.body.[name] is undefined
body: <p>I am using:</p>
  
  <pre><code>var express    = require("express"),
      app        = express(),
      bodyParser = require("body-parser");
  </code></pre>
  
  <p>with:</p>
  
  <pre><code>app.use(bodyParser.urlencoded({extended: true}));
  </code></pre>
  
  <p>Form:</p>
  
  <pre><code>&lt;form action="/[route]" method="GET"&gt;
      &lt;input type="text" name="[name]"&gt;
      &lt;input type="submit" value="Show Results"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Route:</p>
  
  <pre><code>app.get("/[route]", function(req, res){
      console.log(req.body.[name]);
  });
  </code></pre>
  
  <p>The issue I am having is when I try to access the req.body.[name of input] it is 'undefined'</p>
  
  <p>It's like the body parser is not working and I am not sure why.</p>