in reply to How do I make a multipart/mixed request (for REST API) in Perl?
Hi, I had a bit of a look around as the technique of batching API calls into a single HTTP request sounds very useful. I couldn't find anything: HTTP::Request::Common has support for multipart/form-data (for uploading files) but the content-type is hard-coded.
You could probably work something up, wrapping a bunch of HTTP::Request requests ->as_string() in an ecompassing request, given that according to the Google doc, the parts are each a complete nested request.
Hope this helps!
|
|---|