- Dec 3, 2007On Monday 03 December 2007 10:11, Satyam wrote:
> ----- Original Message -----Grails unifies the decoding of request parameters without regard to
> From: "Randall R Schulz" <rschulz@...>
> Sent: Monday, December 03, 2007 4:38 PM
> > The server is a Grails applicatino, and it handles POST without
> > problems.
> I'm sure your application can handle post, the problem is that if you
> append it to the URL the data won't be there but in the GET part. I
> don't know Grails, but in PHP you have a $_POST array and a $_GET
> array. If you append arguments to the URL you get them in the $_GET
whether it's GET, PUT, POST or DELETE and presents all parameters to
the handler code as a simple map (a.k.a. hash). This includes
multipart/form data and file uploads, too.
Anyway, the real problem was a Grails bug (already found and fixed, as
of this morning).
But at the risk of repeating myself, I would like to know how to select
which HTTP request method is used, if that's possible. POST might not
always be a good choice.
- << Previous post in topic Next post in topic >>