cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: simple HTTP POST help needed

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 22 Jan 2009 12:06:41 -0800

On Thu, Jan 22, 2009 at 09:48:25AM -0500, ChristinaPSU wrote:
> I made a small program to POST a message to a HTTP Server. What I am wondering,
> is how do I get the acknowledgement message form the HTTP server with libcurl?
> I think I probably need to use a callback, but I read the docs and I am
> confused. Can anyone help me here? Here is the code to my program so far:

You'll need to install a write callback function. Take a look at some of
the example programs to see how that's done, such as sepheaders.c.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2009-01-22