-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
As far as I have been able to find, batch-request is one of the most full-featured batch request libraries available for Node.js.
The format for the request looks like
{
"myRequest1": {
"method": "GET",
"uri": "http://api.mysite.com/users/1/first_name"
},
"myRequest2": {
"method": "GET",
"dependency": "myRequest1",
"uri": "http://api.mysite.com/users/1"
},
"myRequest3": {
"method": "GET",
"uri": "http://api.mysite.com/users/1/company"
},
}While the response may look something like
{
"myRequest1": {
"statusCode": 200,
"body": "Victor",
"headers": {...}
},
"myRequest2": {
"statusCode": 200,
"body": "victor@socialradar.com",
"headers": {...}
},
"myRequest3": {
"statusCode": 200,
"body": "SocialRadar",
"headers": {...}
},
}I might work on a solution for this if I get some time.
Metadata
Metadata
Assignees
Labels
No labels