From 5ddd5f2619bd530e598d15c4af65d7b02eca34e1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 23 Mar 2023 11:48:45 +0100 Subject: [PATCH] data.d: emphasize no conversion When asking curl to send a POST, curl does not encode or change the data. Ref: #10820 Closes #10823 --- docs/cmdline-opts/data.d | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/cmdline-opts/data.d b/docs/cmdline-opts/data.d index 7298615c53..ff8a3b0b62 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.