curl-library
Re: theoretical question
Date: Wed, 20 Dec 2006 15:32:57 +0100 (CET)
On Wed, 20 Dec 2006, Anton Nagorniy wrote:
> //////////////////code///////////////////////////
> curl_easy_setopt(curl, CURLOPT_URL, url1);
> curl_easy_setopt(curl, CURLOPT_POST, 1 );
> curl_easy_setopt(curl, CURLOPT_POSTFIELDS, str);
> curl_easy_setopt(curl,CURLOPT_POSTFIELDSIZE, str.Length());
> curl_easy_perform(curl);
>
> curl_easy_setopt(curl, CURLOPT_URL, url2);
> curl_easy_perform(curl);
> /////////////////////////////////////////////////
>
> When we call curl_easy_perform the first time, we send the POST request to
> url1.
>
> The question is:
>
> Do we send the POST request to url2 when curl_easy_perform is called the
> second time?
Yes.
... and you could've tested this and verified it in much less time than it
took for you to write your mail and await my answer! ;-)
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-12-20