[Mongrel] Passing from data via POST
todd.fisher at gmail.com
Sun Nov 11 09:49:21 EST 2007
In an HTTP POST, the data params are sent as part of the request body. This
means you need to read the request body and parse that into whatever form
should get you the raw unparsed POST data.
On 11/10/07, Geoffrey Bays <charioteer7 at gmail.com> wrote:
> Mongrel Users: How does the HttpHandler process() method deal with
> data passed via POST?
> The HttpRequest object captures all GET params appended to an URL, but
> I just tried to
> retrieve data passed via POST and it came up nil.
> that is, I assumed the HttpRequest object contained the
> param named in the html form and its value.But the POST passed params
> are not found in the
> request object.
> Please advise.
> geoffrey bays
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mongrel-users