O'Reilly logo
  • Patrick S thinks this is interesting:


The query string is everything to the right of the question mark in a given URL; for example, in the URL https://twitter.com/search?q=js&src=typd, the query string is q=js&src=typd. After the query string is parsed by Express.js, the resulting JS object would be {q:'js', src:'typd'}. This object is assigned to req.query or request.query in your request handler, depending on what variable name you used in the function signature....


Cover of Pro Express.js