Thank you for the link,

I'm missing something, how do I get the user and password information inserted?

As a little additional information, I'm trying to talk to a php script that has an API similar to Twitter.

So I need to have user password and UTF8 text.

It should be simple but I've been spoiled with components on the windows platform that sets all of this up for me.

Thanks,
ran6110


On Jul 20, 2008, at 11:23 AM, Jean-Daniel Dupas wrote:


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 protected])

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]

Reply via email to