diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-09-16 23:04:07 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-16 23:04:07 +0200 |
commit | 9e078211cedcce94288d5ca40c95708c2f95685e (patch) | |
tree | 5c3b619e5ad138c58eb41a3866430a618afd2b63 /docs/libcurl/opts/CURLOPT_POSTFIELDS.3 | |
parent | 1556b99f1a4f6627c442980d4d4f41e61008045a (diff) | |
download | curl-9e078211cedcce94288d5ca40c95708c2f95685e.tar.gz |
man pages: switch to https://example.com URLs
Since HTTPS is "the new normal", this update changes a lot of man page
examples to use https://example.com instead of the previous "http://..."
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_POSTFIELDS.3')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_POSTFIELDS.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_POSTFIELDS.3 b/docs/libcurl/opts/CURLOPT_POSTFIELDS.3 index f672b93a9..bd4aa7330 100644 --- a/docs/libcurl/opts/CURLOPT_POSTFIELDS.3 +++ b/docs/libcurl/opts/CURLOPT_POSTFIELDS.3 @@ -69,7 +69,7 @@ CURL *curl = curl_easy_init(); if(curl) { const char *data = "data to send"; - curl_easy_setopt(curl, CURLOPT_URL, "http://example.com"); + curl_easy_setopt(curl, CURLOPT_URL, "https://example.com"); /* size of the POST data */ curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, 12L); |