mikeal/request — Issue #201: [Feature request] Multiple requests at once
Author: natos
Created: 2012-03-09 11:21:48+00:00
State: open

I'm using it to mashup different APIs on a single request call, and it's quite handy. I've wrapped it into a function, but I don't think its the best way to do it: https://gist.github.com/2001487

The sintaxis I'm using is:

```__request( ['http://foo', 'http://bar'], function(response) { ... });```

The response argument is an object that group all the responses by url:

``` {
'http://foo': { error:{..}, body:{...}, response:{...} }
, 'http://bar': { error:{..}, body:{...}, response:{...} }
}```