• 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: Parse form values from HTTP POST
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parse form values from HTTP POST


  • Subject: Re: Parse form values from HTTP POST
  • From: "Jonathan del Strother" <email@hidden>
  • Date: Thu, 21 Aug 2008 10:18:10 +0100

On Thu, Aug 21, 2008 at 9:17 AM, Thomas Engelmeier
<email@hidden> wrote:
>
> Am 20.08.2008 um 22:54 schrieb Jesse Grosjean:
>
>> Does anyone know what the best way to parse form values from and HTTP Post
>> is?
>>
>> I have a mini HTTP server in my app, and it needs to accept posts. I'm
>> using CFHTTP to implement the server, so I have a CFHTTPMessageRef. I'm
>> trying to figure out how to turn that into a dictionary of keys and values.
>> Is there an API that can do this, or any example code around?
>
> No solution (debugging POST packets sucks IMO...) but all the Web API hype
> is now with AJAX + REST, which uses HTTP GET + "everything is in the URI" -
> are you sure you need POST?
>

Eh?  REST uses both GET and POST (and tries really really hard to do
PUT & DELETE despite the crippled support for it).  POST is generally
used for carrying data to modify a resource - sticking all that in the
URI is a gross misuse of GET.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Parse form values from HTTP POST (From: Jesse Grosjean <email@hidden>)
 >Re: Parse form values from HTTP POST (From: Thomas Engelmeier <email@hidden>)

  • Prev by Date: Re: Sending a message to super's super (tab keyDown in NSTextView)
  • Next by Date: Re: !foo vs foo == nil
  • Previous by thread: Re: Parse form values from HTTP POST
  • Next by thread: [Q] SFPreferenceView and authorize as admin?
  • Index(es):
    • Date
    • Thread