title: Node.js Express req.query is undefined
body: <p>I'm running the following code on Node.js with Express 4.7.2</p>
  
  <pre><code>express.get('/test1',function(req, res) {
    var ttt = false;
    if (req.query.username === undefined) ttt = true;
    res.json({query: ttt});
  });
  </code></pre>
  
  <p>I call the URL:</p>
  
  <blockquote>
    <p>{{protocol}}://{{server}}/test1?username=1</p>
  </blockquote>
  
  <p>And I get the result:</p>
  
  <blockquote>
    <p>{query: true}</p>
  </blockquote>
  
  <p>Which shows <code>req.query.username</code> is indeed <code>undefined</code>   </p>
  
  <p>What am I missing? How come the query param is not passed in?</p>