mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
2f0056680f
The example was missing a "--form" argument I also replaced "--form" with "-F" to shorten the line a bit since it was already very long. And I also moved --form-escape from the "post" category to the "upload" category (this is what I originally wanted to fix, before also noticing the mistake in the example). Closes #9298
13 lines
440 B
Makefile
13 lines
440 B
Makefile
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: form-escape
|
|
Help: Escape multipart form field/file names using backslash
|
|
Protocols: HTTP
|
|
See-also: form
|
|
Added: 7.81.0
|
|
Category: http upload
|
|
Example: --form-escape -F 'field\\name=curl' -F 'file=@load"this' $URL
|
|
---
|
|
Tells curl to pass on names of multipart form fields and files using
|
|
backslash-escaping instead of percent-encoding.
|