diff options
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_POSTFIELDSIZE.3')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_POSTFIELDSIZE.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLOPT_POSTFIELDSIZE.3 b/docs/libcurl/opts/CURLOPT_POSTFIELDSIZE.3 index dba49887f..761bfc2c8 100644 --- a/docs/libcurl/opts/CURLOPT_POSTFIELDSIZE.3 +++ b/docs/libcurl/opts/CURLOPT_POSTFIELDSIZE.3 @@ -44,7 +44,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, (long) strlen(data)); |