Passing from data via POST

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.

Cheers,

geoffrey bays

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
you need.
request.body.read

should get you the raw unparsed POST data.

-Todd