title: Node JS Express Call Multiple APIs and return a Single Response
body: <p>I am extremely new to Node, I hope someone can help.
  I have 2 APIs that are external to my project.
  I want to create a single endpoint in my Node Express server that returns the results from both calls.
  How would I do this?</p>
  
  <p>So far I figured out how to call an external resource like this,</p>
  
  <pre><code>app.use('/myapi', function(req, res) {  
    var url = 'https://some-service.com/api1';
    res.setHeader('content-type', 'application/json');
    req.pipe(request(url)).pipe(res);
  });
  </code></pre>
  
  <p>This will return the results to my application. What I cant figure out is how to make a second call, then combine the results into an object like this,</p>
  
  <pre><code>{ response1, response2 }
  </code></pre>
  
  <p>Does anyone know how to do this, or point me in the right direction?
  Also is there a way to make sure that both calls succeed before sending a response to my application.</p>
  
  <p>Thanks.</p>