[Django]-How to add batch requests handling to Django project?

3👍

django-batch-requests seems like a reasonable bare-bones solution. This article gives a better treatment of how batch requests should probably be done in a REST api – basically, the “POST json describing the request” approach is flawed in the same ways SOAP is – and worse, since it makes the behavior of your REST api inconsistent.

Also, Facebook defines a batch requests api if you want something to emulate. They use the SOAP-ish approach.

👤jstaab

Leave a comment