Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 946 Bytes

README.md

File metadata and controls

31 lines (17 loc) · 946 Bytes

Batch Request

A simple library for batching HTTP requests

View Documentation

Build Status

QuickStart

Download via NPM

NPM

then in your app

// Use Batch Request as middleware on an endpoint you want to service batch requests
app.get('/batch', batch);

Optionally use our included middleware to check the validity of your batch request

// Include the batch.validate middleware before batch middleware
app.get('/batch', batch.validate, batch);

And that's it!

Proudly written in Washington, D.C. by:

SocialRadar