aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/postit2.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-10-05 15:00:19 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-10-05 15:00:19 +0200
commit18e7b52e8e95f7204d8ef7ff0f0ff0043afe45a9 (patch)
tree16916d3680982a91be43e16cad44df14d3dd6d7b /docs/examples/postit2.c
parent6d272e53a2b109400c1ee9a31ffa40f288459b41 (diff)
examples: use example.com in example URLs
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);