[Seaside] Rest and POST method
philippe.marschall at gmail.com
Mon Apr 4 07:33:34 UTC 2011
2011/4/4 Olivier Auverlot <olivier.auverlot at gmail.com>:
> I continu my experiments with seaside-rest and I have a new problem. I can
> post XML data to the seaside server with the post method. I can detect the
> arrival of the data with the postXML event method.
> "I receive XML data with the POST method"
> <Consumes: 'text/xml'>
> <Path: '/postxml'>
> Transcript show: 'XML data detected'.
> But... how to read the content of the request ?
Yeah right, at the moment you can only inject GET fields and not POST
fields. So you have to access them through
self requestContext request postFields
More information about the seaside