getting query parameters in node.js

I have a url like this:

http://localhost:3000/hi?key=abcd345&section=you

I need the value of the parameter, section. I use:

req.query.section

But the value is undefined.

I tried testing

console.log(req.url);

But the output is only:

/hi?key=abcd345

And I also tried:

console.log(req.query);

But the output is only:

{"key":"abcd345"}

I dont know what happened to the parameter section. Am I missing something? Please let me know. Thanks.