On Sat, Feb 6, 2010 at 11:29 AM, Aristotle Pagaltzis <pagalt...@gmx.de>wrote:
> * Bill Moseley <mose...@hank.org> [2010-02-06 17:30]: > > As in don't provide a way to upload meta data along with the > > file (name, date, description, author, title, reference id) > > like the web upload allows with multipart/form-data? Or invent > > some new serialization where the meta data is embedded in the > > upload? > > Neither, depending on your metadata. The things you did mention > could quite well be sent as request headers. No need to put > another envelope inside the HTTP request envelope. Could you be more specific? For example API request to 1) create a new user in account #1234 with name, email, etc. 2) create a user but also provide a photo when creating the user 3) upload a document for the user and the document must include an associated collection of meta data (e.g. filename, timestamp, author etc.). The uploaded document must include this meta data before it can be accepted. -- Bill Moseley mose...@hank.org
_______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/