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

CURLHandle example code?


  • Subject: CURLHandle example code?
  • From: Michael Becker <email@hidden>
  • Date: Fri, 23 Jan 2004 19:59:46 +0100

Hey!

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?

I've seen Delphi-Classes for HTTP transfer looking something like this:

MyPOSTForm.setURL("http://myUrl.com";);
MyPOSTForm.setKeyAndValue("MyKey", "MyValue");
MyPOSTForm.setObject(myImageObject);
MyPOSTForm.send;

This is what I need :-) I hope somebody can point me in the right direction here...

Bye,

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.

  • Follow-Ups:
    • Re: CURLHandle example code?
      • From: Michael Becker <email@hidden>
  • Prev by Date: Re: NSXMLParserTroubles (errors and line/column positions wrong?)
  • Next by Date: Re: NSXMLParserTroubles (errors and line/column positions wrong?)
  • Previous by thread: Re: NSXMLParserTroubles (errors and line/column positions wrong?)
  • Next by thread: Re: CURLHandle example code?
  • Index(es):
    • Date
    • Thread