• 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: CURLHandle example code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CURLHandle example code?


  • Subject: Re: CURLHandle example code?
  • From: Michael Becker <email@hidden>
  • Date: Fri, 23 Jan 2004 21:21:24 +0100

In my current project, I have to deal with HTTP POSTs, and I think I will try CURLHandle for that. However, I am afraid that the CURLHandleTester source code that comes with the package is a little too overloaded for me :-)
I need to send off a HTTP Form (using POST) that includes strings, and images (can I send NSImages without saving them to disk first?). It's all very simple, sending/loading in the foreground etc.

Can anyone maybe point me to some example code that does something similar to this?


To make clearer what I want to do:

$ curl -F myFile.jpeg -F "myKey=myValue" http://www.myURL.com";

How do I "translate" this to CURLHandle/Cocoa??


- Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >CURLHandle example code? (From: Michael Becker <email@hidden>)

  • Prev by Date: Re: Paste Command Unavailable for NSStatusItems
  • Next by Date: Re: NSXMLParserTroubles (errors and line/column positions wrong?)
  • Previous by thread: CURLHandle example code?
  • Next by thread: NSTimer, no invalidate while shutting down?
  • Index(es):
    • Date
    • Thread