curl-library
Re: Problem with GET
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 18 Jul 2007 16:05:54 -0700
Date: Wed, 18 Jul 2007 16:05:54 -0700
On Wed, Jul 18, 2007 at 03:58:56PM -0700, James Woo wrote:
> I'm new to libcurl. After using curl_easy_setopt (ctx,
> CURLOPT_WRITEFUNCTION, write_callback) to
> retrieve the web page. I would like to send a http "GET" message with the
> info from the web page.
> I tried curl_easy_setopt(ctx, CURLOPT_READFUNCTION, read_callback) to send
> the http message.
> But the read_callback function is never called. What did I do wrong here?
How are you retrieving the original web page. With a "GET" request, most
likely. You can read the next web page in exactly the same manner. You
will need to ensure that the URL contains any necessary parameters you
retrieved from the first web page.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2007-07-19