mirror of
https://github.com/curl/curl.git
synced 2026-07-04 06:27:16 +03:00
examples: use example.com in example URLs
This commit is contained in:
parent
6d272e53a2
commit
18e7b52e8e
27 changed files with 41 additions and 43 deletions
|
|
@ -51,8 +51,8 @@ int main(void)
|
|||
curl = curl_easy_init();
|
||||
if(curl) {
|
||||
/* First set the URL that is about to receive our POST. */
|
||||
curl_easy_setopt(curl, CURLOPT_URL,
|
||||
"http://receivingsite.com.pooh/index.cgi");
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/index.cgi");
|
||||
|
||||
/* Now specify we want to POST data */
|
||||
curl_easy_setopt(curl, CURLOPT_POST, 1L);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue