Re: looking for help with http post example
Re: looking for help with http post example
- Subject: Re: looking for help with http post example
- From: Jean-Daniel Dupas <email@hidden>
- Date: Sun, 20 Jul 2008 20:23:31 +0200
Le 20 juil. 08 à 19:55, Richard Nichols a écrit :
Hi
I'm looking for a simple example that will show me how to do an http
POST with user and password in cocoa.
All I want to do is send some text to a php script but it expects
the see the user and password and I'm not sure what classes to use
and how to set them up.
I've looked at a number of examples on the web but they appear too
complex or convoluted...
Thanks
If you just need send simple string value, you can use the easy way,
encoding it as a "application/x-www-form-urlencoded"
See the following link for an sample code:
http://deusty.blogspot.com/2006/11/sending-http-get-and-post-from-cocoa.html
_______________________________________________
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