curl/docs/cmdline-opts/form-escape.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
471 B
Markdown
Raw Normal View History

---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: form-escape
Help: Escape multipart form field/filenames using backslash
Protocols: HTTP
Added: 7.81.0
Category: http upload
Multi: single
See-also:
- form
Example:
- --form-escape -F 'field\name=curl' -F 'file=@load"this' $URL
---
# `--form-escape`
Tells curl to pass on names of multipart form fields and files using
backslash-escaping instead of percent-encoding.