[Catalyst] Catalyst::Action::REST with multipart uploads

Robert Rothenberg robrwo at gmail.com
Fri Mar 29 14:21:07 GMT 2013


I'm wondering if it's possible to use Catalyst::Action::REST with multipart
uploads, so that one can POST or PUT a data structure with an attached file.

The use case would be a RESTful API for uploading attachments. The XML or
JSON data structure would contain metadata about the object, and the
possibly attached file would contain the object being uploaded.

The Catalyst::Action::REST distro includes a
Catalyst::Action::DeserializeMultiPart module, but I am unsure if this would
be used for just desrializing multiple data structures or can be used to
include binary attachments to th data structure.




More information about the Catalyst mailing list