CoreFoundation exists on the iPhone. And you can look at cocoadev.org for a decent HTTP Post example there or look on Google code for a class that does Flickr uploads through HTTP Post and that works on the iPhone.

HTTP Post is not hard, but it does expect a very specific way of doing it.


On Jul 4, 2009, at 7:46 AM, Jesse Armand wrote:

I'm not quite sure about whether "Available in Mac OS X version 10.1
and later" means that it's not available in iPhone OS.

But, I assume everything that exists on iPhone OS reference library,
exists on iPhone OS, because that's also the case with
NSURLConnection, which obviously exists on iPhone OS.

Jesse Armand
----------------------------------------
(http://jessearmand.com)



On Sat, Jul 4, 2009 at 6:58 PM, Peter
Mulholland<[email protected]> wrote:
Hello Development,

Saturday, July 4, 2009, 3:20:45 AM, you wrote:

I need to be able to upload the data from a UIImage to a server via
http POST however I simply cannot find a good example of how to
arrange the headers or how to make this post.
The only data I need to send to the server is the file's name, the
user's name and the data itself and I simply cannot seem to get it to
work. Can any of you offer a helping hand?


I don't know if CoreFoundation stuff is available on iPhone but if it is, CFHTTPMessage is an excellent way to do HTTP POST.

Best regards,
 Peter                            mailto:[email protected]

_______________________________________________

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/mnemonic.fx%40gmail.com

This email sent to [email protected]

_______________________________________________

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/alex%40webis.net

This email sent to [email protected]

Alex Kac - President and Founder
Web Information Solutions, Inc.

"The optimist proclaims that we live in the best of all possible worlds; and the pessimist fears this is true."
-- James Clabell




_______________________________________________

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