title: How to parse/read multiple parameters with restify framework for Node.JS
body: <p><strong>Scenario</strong>: We developer are trying to replace a web service (written in C#.Net) with Node.JS Restful API.</p>
  
  <p><strong>Issue</strong>: Now we need to handle the incoming request as is (we don't have control over it). So the following is the format of the incoming URL:</p>
  
  <blockquote>
    <p>http://www.website.com/Service.aspx?UID=Trans001&amp;FacebookID=ae67ea324&amp;GetDetailType=FULL</p>
  </blockquote>
  
  <p>I am able to handle the URL like: </p>
  
  <blockquote>
    <p>http://www.website.com/service/Trans001/ae67ea324/FULL</p>
  </blockquote>
  
  <p>I can parse/read the parameter from the above URL</p>
  
  <p>Code:</p>
  
  <pre><code>var server = require('restify').createServer();
  function respond(req, res, next) {
      console.log("req.params.UID:" + req.params.UID);
      console.log("req.params.FacebookID:" + req.params.FacebookID);
      console.log("req.params.GetDetailType" + req.params.GetDetailType);
  }
  server.get('/service/:UID/:FacebookID/:GetDetailType', respond);
  server.listen(8080, function () {
      console.log('%s listening at %s', server.name, server.url);
  });
  </code></pre>
  
  <p><strong>Question</strong>: How can I read the multiple parameters from the URL which is formatted like <code>http://www.website.com/Service.aspx?UID=Trans001&amp;FacebookID=ae67ea324</code></p>