title: Can I iterate over the query string parameters using ExpressJS?
body: <p>I know that if I pass a URL like the below:</p>
  
  <pre><code>http://localhost:3000/customer?companyid=300&amp;customerid=200
  </code></pre>
  
  <p>That I can then in ExpressJS use the below to extract the data:</p>
  
  <pre><code>res.send(util.format('You are looking for company: %s  customer: %s', req.query.companyid, req.query.customerid));
  </code></pre>
  
  <p>But, I would like to iterate over the paramters and handle them without having to predefine them in my query.  I can't seem to find anything in the Express API, etc that seems to work (probably looking right over it).</p>
  
  <pre><code>http://localhost:3000/customer?companyid=300&amp;customerid=200&amp;type=employee
  </code></pre>
  
  <p>Any comments / suggestions would be appreciated!</p>
  
  <p>Thanks,</p>
  
  <p>S</p>