aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_POSTFIELDS.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-05-21 10:26:24 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-21 10:29:28 +0200
commitd5a2df5f1d41787ff7847466fee48a2fefba6fbd (patch)
tree3c869aa83f1cb4191721139779da13b2c465ddc9 /docs/libcurl/opts/CURLOPT_POSTFIELDS.3
parent404c8850da5a677638959f4e38bb7692cb887d3a (diff)
docs: clarify CURLOPT_HTTPGET somewhat
Reported-by: bsammon on github Fixes #2590
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_POSTFIELDS.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_POSTFIELDS.34
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_POSTFIELDS.3 b/docs/libcurl/opts/CURLOPT_POSTFIELDS.3
index 285ab2551..857e1d987 100644
--- a/docs/libcurl/opts/CURLOPT_POSTFIELDS.3
+++ b/docs/libcurl/opts/CURLOPT_POSTFIELDS.3
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
@@ -45,7 +45,7 @@ used by HTML forms. Change Content-Type with \fICURLOPT_HTTPHEADER(3)\fP.
You can use \fIcurl_easy_escape(3)\fP to url-encode your data, if necessary. It
returns a pointer to an encoded string that can be passed as \fIpostdata\fP.
-Using \fICURLOPT_POSTFIELDS(3)\fP implies \fICURLOPT_POST(3)\fP.
+Using \fICURLOPT_POSTFIELDS(3)\fP implies setting \fICURLOPT_POST(3)\fP to 1.
If \fICURLOPT_POSTFIELDS(3)\fP is explicitly set to NULL then libcurl will get
the POST data from the read callback. If you want to send a zero-byte POST set