• 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: looking for help with http post example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: looking for help with http post example
      • From: Richard Nichols <email@hidden>
References: 
 >looking for help with http post example (From: Richard Nichols <email@hidden>)

  • Prev by Date: Re: How to get a table column header with an image instead of text?
  • Next by Date: Re: drawRect infinite loop -- argh!
  • Previous by thread: looking for help with http post example
  • Next by thread: Re: looking for help with http post example
  • Index(es):
    • Date
    • Thread