]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
json.md: cli-option `--json` is an alias of `--data-binary`
authorSebastian Walz <sebastian.walz@secunet.com>
Tue, 8 Oct 2024 12:19:36 +0000 (14:19 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Oct 2024 14:15:06 +0000 (16:15 +0200)
Closes #15197

docs/cmdline-opts/json.md

index 8056e62e7cf73c3c51fc0f0cc6d1852bff9cab46..7763d81ee0ba8988b9f05cbecfffbf3f77a1a4ae 100644 (file)
@@ -24,7 +24,7 @@ Example:
 Sends the specified JSON data in a POST request to the HTTP server. --json
 works as a shortcut for passing on these three options:
 
-    --data [arg]
+    --data-binary [arg]
     --header "Content-Type: application/json"
     --header "Accept: application/json"