Supported curl options
-X/--request— HTTP method-H/--header— request headers (multiple)-d/--data/--data-raw/--data-binary— request body-u/--user— basic auth--url— URL (alternative to positional)--form/-F— multipart form data
Common tricks
- Copy as cURL from browser DevTools → Network tab → right-click request → "Copy as cURL"
- The bash format (default in DevTools) is supported; Windows cmd format with caret line continuations works too
- Line continuations (
\at end of line) and quoted multiline bodies are handled