summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-03-23 11:48:45 +0100
committerDaniel Stenberg <daniel@haxx.se>2023-03-23 15:35:25 +0100
commit5ddd5f2619bd530e598d15c4af65d7b02eca34e1 (patch)
treec44308491a674dff5d37b4124b94a785576c6f9b /docs
parent8963c25db3e54238b7e2d1f9ef5c45f499069c8a (diff)
downloadcurl-5ddd5f2619bd530e598d15c4af65d7b02eca34e1.tar.gz
data.d: emphasize no conversion
When asking curl to send a POST, curl does not encode or change the data. Ref: #10820 Closes #10823
Diffstat (limited to 'docs')
-rw-r--r--docs/cmdline-opts/data.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/cmdline-opts/data.d b/docs/cmdline-opts/data.d
index 7298615c5..ff8a3b0b6 100644
--- a/docs/cmdline-opts/data.d
+++ b/docs/cmdline-opts/data.d
@@ -35,3 +35,7 @@ data from a file named 'foobar' would thus be done with --data @foobar. When
--data is told to read from a file like that, carriage returns and newlines
will be stripped out. If you do not want the @ character to have a special
interpretation use --data-raw instead.
+
+The data for this option is passed on to the server exactly as provided on the
+command line. curl will not convert it, change it or improve it. It is up to
+the user to provide the data in the correct form.