jonsamwell / angular-http-batcher

Enables HTTP batch request with AngularJS
MIT License
96 stars 28 forks source link

adapter for grape-batch request #32

Open esperancaJS opened 8 years ago

esperancaJS commented 8 years ago

We are using grape-batch to handle batch requests in the server.

a POST http request is expected with a body like:

{
  requests: 
    [
      {
        method: 'GET', 
        path: '/api/v1/users'
      },
      {
        method: 'POST', 
        path: '/api/v1/login',
        body: { token: 'nrg55xwrd45' }
      }
    ]
}
jonsamwell commented 8 years ago

What does the response look like?

jonsamwell commented 8 years ago

@PedroEsperanca Any progress on this?