aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/post-callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/post-callback.c')
-rw-r--r--docs/examples/post-callback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/post-callback.c b/docs/examples/post-callback.c
index 1e688a1c8..ae4f4db98 100644
--- a/docs/examples/post-callback.c
+++ b/docs/examples/post-callback.c
@@ -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);