summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/form-string.d
blob: 32baab0f50dd88a17e4363d03bcf0a76a22ca709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: form-string
Help: Specify multipart MIME data
Protocols: HTTP SMTP IMAP
Arg: <name=string>
See-also: form
Category: http upload
Example: --form-string "data" $URL
Added: 7.13.2
Multi: append
---
Similar to --form except that the value string for the named parameter is used
literally. Leading '@' and '<' characters, and the ';type=' string in
the value have no special meaning. Use this in preference to --form if
there's any possibility that the string value may accidentally trigger the
'@' or '<' features of --form.