• 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: Kieran Kelleher <email@hidden>
  • Date: Mon, 23 Jan 2012 14:13:37 -0500

Have a look at WORequest API. Looks like some methods there may help you, such as
WORequest.method()
WORequest.queryString()


On Jan 23, 2012, at 12:46 PM, Klaus Berkling wrote:

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
  • Prev by Date: Re: Detecting POST vs GET
  • Next by Date: Re: Webobjects Begginer Question.
  • Previous by thread: Re: Detecting POST vs GET
  • Next by thread: Re: Class 'Main' exists but is not a subclass of WOComponent.
  • Index(es):
    • Date
    • Thread