Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Batch API Requests

#414 Batch API Requests pro

Apr 27, 2013 | 18 minutes | Rack, APIs
Here I demonstrate how to perform bulk API operations though a single request using Rack middleware. This is great if you need to trigger multiple actions at once such as if the user goes offline.
  • Download:
  • source codeProject Files in Zip (57.8 KB)
  • mp4Full Size H.264 Video (45.9 MB)
  • m4vSmaller H.264 Video (22.1 MB)
  • webmFull Size VP8 Video (24.7 MB)
  • ogvFull Size Theora Video (55.7 MB)