• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detecting POST vs GET
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Webobjects Begginer Question.
  • Next by Date: Re: Detecting POST vs GET
  • Previous by thread: Re: Detecting POST vs GET
  • Next by thread: Re: Detecting POST vs GET
  • Index(es):
    • Date
    • Thread