xref: /aosp_15_r20/external/curl/docs/cmdline-opts/form-string.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: form-string
5*6236dae4SAndroid Build Coastguard WorkerHelp: Specify multipart MIME data
6*6236dae4SAndroid Build Coastguard WorkerProtocols: HTTP SMTP IMAP
7*6236dae4SAndroid Build Coastguard WorkerArg: <name=string>
8*6236dae4SAndroid Build Coastguard WorkerCategory: http upload post smtp imap
9*6236dae4SAndroid Build Coastguard WorkerAdded: 7.13.2
10*6236dae4SAndroid Build Coastguard WorkerMulti: append
11*6236dae4SAndroid Build Coastguard WorkerSee-also:
12*6236dae4SAndroid Build Coastguard Worker  - form
13*6236dae4SAndroid Build Coastguard WorkerExample:
14*6236dae4SAndroid Build Coastguard Worker  - --form-string "name=data" $URL
15*6236dae4SAndroid Build Coastguard Worker---
16*6236dae4SAndroid Build Coastguard Worker
17*6236dae4SAndroid Build Coastguard Worker# `--form-string`
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard WorkerSimilar to --form except that the value string for the named parameter is used
20*6236dae4SAndroid Build Coastguard Workerliterally. Leading @ and \< characters, and the `;type=` string in the value
21*6236dae4SAndroid Build Coastguard Workerhave no special meaning. Use this in preference to --form if there is any
22*6236dae4SAndroid Build Coastguard Workerpossibility that the string value may accidentally trigger the @ or \<
23*6236dae4SAndroid Build Coastguard Workerfeatures of --form.
24