cURL / Mailing Lists / curl-library / Single Mail

curl-library

theoretical question

From: Anton Nagorniy <anton20vlad_at_mail.ru>
Date: Wed, 20 Dec 2006 14:13:40 +0300

Hi everybody.

Here is some code:
//////////////////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?
Received on 2006-12-20