How to get GET (query string) variables in Express.js on Node.js?
Asked 07 September, 2021
Viewed 2.1K times
  • 55
Votes

Can we get the variables in the query string in Node.js just like we get them in $_GET in PHP?

I know that in Node.js we can get the URL in the request. Is there a method to get the query string parameters?

24 Answer