url.parse(urlStr, [parseQueryString], [slashesDenoteHost])
If you pass true as the second argument, it will also querystring query string using the querystring module, and you will get a {'query':'string'} object, otherwise the query string will not be parsed (default behavior) and you will get query=string
source share