aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/postit2.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/postit2.c')
-rw-r--r--docs/examples/postit2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/postit2.c b/docs/examples/postit2.c
index 7268fcbbc..a6292c5f1 100644
--- a/docs/examples/postit2.c
+++ b/docs/examples/postit2.c
@@ -67,7 +67,7 @@ int main(int argc, char *argv[])
headerlist = curl_slist_append(headerlist, buf);
if(curl) {
/* what URL that receives this POST */
- curl_easy_setopt(curl, CURLOPT_URL, "http://curl.haxx.se/examplepost.cgi");
+ curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/examplepost.cgi");
if ( (argc == 2) && (!strcmp(argv[1], "noexpectheader")) )
/* only disable 100-continue header if explicitly requested */
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist);