mirror of
https://github.com/curl/curl.git
synced 2026-07-15 22:57:17 +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
|
|
@ -20,7 +20,7 @@ int main(void)
|
|||
|
||||
curl = curl_easy_init();
|
||||
if(curl) {
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "http://posthere.com");
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
|
||||
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, postthis);
|
||||
|
||||
/* if we don't provide POSTFIELDSIZE, libcurl will strlen() by
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue