[Seaside] Rest and POST method

Olivier Auverlot olivier.auverlot at gmail.com
Tue Apr 5 09:53:52 UTC 2011


Hi Tobias,

I tried rawBody with the POST method but it returns a empty string if I 
send XML data.
> Probably you can try rawBody. It is used by SqueakSource3 in
> a put request, where postFields are naturally  not available.:
>
> putMap: fileName ofProject: projectName
> 	<PUT>
> 	<Path: '/{projectName}/{fileName}.mcm'>
> 	"…"
> 	| data |
> 	data := self requestContext request rawBody.
> 	"…"
>
>
Olivier ;-)



More information about the seaside mailing list