You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Petr Kobalíček <ko...@gmail.com> on 2009/09/21 12:04:46 UTC
access post data
Hi,
is there simple way how to access raw POST data?
I'm trying:
((WebRequest)getRequest()).getHttpServletRequest().getInputStream();
but it's empty (it seems to be already processed).
Thanks
- Petr
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: access post data
Posted by Petr Kobalíček <ko...@gmail.com>.
My problem,
it's needed to set correct request content type (for example
application/json) to disallow wicket from processing the post data
(and making parameters from them).
Cheers
- Petr
2009/9/21 Petr Kobalíček <ko...@gmail.com>:
> Hi,
>
> is there simple way how to access raw POST data?
>
> I'm trying:
> ((WebRequest)getRequest()).getHttpServletRequest().getInputStream();
> but it's empty (it seems to be already processed).
>
> Thanks
> - Petr
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org