On Thu, Aug 21, 2008 at 9:17 AM, Thomas Engelmeier <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]