title: Get Parameter From URL in POST method in NodeJS/Express
body: <p>I want to do the following, but I don't know if its possible without do it string manipulation in the URL.
  I want to get some parameter from the url, I have some data that is passed in the post data, but I need to get some information(userID) from the URL:</p>
  
  <ol>
  <li>I'm using express</li>
  <li>I'm using post method</li>
  <li>My URL is like: </li>
  </ol>
  
  <p><a href="http://www.mydomain.com/api/user/123456/test?v=1.0" rel="noreferrer">http://www.mydomain.com/api/user/123456/test?v=1.0</a></p>
  
  <p>I have the following code, to get all post request:</p>
  
  <pre><code>var http = require('http');
  var url = require('url') ;
  exp.post('*', function(req, res, next) {
       var queryObject = url.parse(req.url,true).query; // not working only get in the object the value v=1.0
       var parameter = req.param('name'); // get undefined
  
  }
  </code></pre>
  
  <p>What I'm missing?</p>
  
  <p>Thanks</p>