in Programming, Tips

pulling query string in node.js

in web development, pulling data from query string is the basic and fundamental task. In node.js, the syntax is like this:

you can actually test my test app here:

http://www.groupstick.com:8001/?name=shinstudio.com

  1. Great example, thank you! I was wondering how to get request attributes from the querystring. Now if I can only figure out how to work with POST data…

  2. Multiple query params seem not to work. Only the first param closest to the ? gets parsed, everything else is getting truncated. 🙁

Comments are closed.