title: request.post how get the body return?
body: <p>I'm made a test about a external post request. So I start my app this way:</p>
  
  <pre><code>var http = require('http');
  var extreq = require('./app/external-request');
  
  http.createServer(function (request, response) {
  
       response.writeHead(200, {'Content-Type': 'text/plain'});
  
       var aaa = extreq.login();
  
       response.end(JSON.stringify(aaa));
  
  }).listen(1337, "127.0.0.1");
  </code></pre>
  
  <p>And inside the "external-request.js" I have:</p>
  
  <pre><code>function login() {
       request.post(url, { form: {
                 userid: 'myuserid',
                 password: '*****'
            }
       }, function (error, response, body) {
            if (!error &amp;&amp; response.statusCode == 200) {
                 var json = JSON.parse(body);
                 console.log(json); // Work
                 return json; // Not work
            }
       });
  }
  
  module.exports.login = login;
  </code></pre>
  
  <p>My problem is, how can I get the "return json" here "var aaa = extreq.login();"?</p>