[Catalyst] Re: Large requests with JSON?

Bill Moseley moseley at hank.org
Sat Feb 6 22:36:44 GMT 2010

On Sat, Feb 6, 2010 at 11:29 AM, Aristotle Pagaltzis <pagaltzis at gmx.de>wrot=

> * Bill Moseley <moseley at 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
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100206/7db92=

More information about the Catalyst mailing list