title: Node.js: Read params passed in the URL
body: <p>In rails I do a POST request to my server:</p>
  
  <pre><code>response = Typhoeus::Request.post("http://url.localtunnel.com/request?from=ola&amp;to=ole")
  result = JSON.parse(response.body)
  </code></pre>
  
  <p>In the Node.js app, I want to read <code>From</code> and <code>To</code>:</p>
  
  <pre><code>app.post '/request', (req,res) -&gt;
      console.log "I have received a request, sweet!!"
      sys.log req.params.from
      #sys.log "From: " + req.from + ", To: " + req.to + ", Id: " + req.id
  </code></pre>
  
  <p>How do I do it?</p>
  
  <p>Thanks</p>