Re: Detecting POST vs GET
Re: Detecting POST vs GET
- Subject: Re: Detecting POST vs GET
- From: Pascal Robert <email@hidden>
- Date: Mon, 23 Jan 2012 14:06:24 -0500
context().request().method() have the answer
> This question may be elementary, but...
>
> How can you tell if a form's submit method was POST or GET? I need to make sure that my form data was not submitted with GET, i.e. where the form data shows up in the URL.
>
> I would have to check that there was no GET data. I can see the POST data in request().contentString().
> I suppose I can examine the URI for something after the "?". Is there an easier way?
>
> Thanks
>
>
> kib
>
> "The era of procrastination, of half-measures, of soothing and baffling expedients, of delays, is coming to its close. In its place we are entering a period of consequences."
> Winston Churchill
>
> Klaus Berkling
> Web Application Dev. & Systems Analyst
> DynEd International, Inc.
> www.dyned.com | blog
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden