cURL Command Input
Quick cURL Flags Reference
Essential flags supported by cURLParse and standard Unix terminals.
| Flag | Long Form | Description |
|---|---|---|
-X |
--request |
Specifies a custom HTTP request method (e.g. POST, PUT, DELETE). |
-H |
--header |
Adds an extra HTTP header to the request (e.g. -H "Authorization: Bearer token"). |
-d |
--data, --data-raw |
Sends HTTP POST data. Automatically sets Content-Type to application/x-www-form-urlencoded unless specified. |
-u |
--user |
Specifies HTTP Basic Authentication username and password (e.g. -u admin:secret). |
-b |
--cookie |
Sends cookies to the server (e.g. -b "session=xyz123"). |
-A |
--user-agent |
Custom User-Agent header string. |
-L |
--location |
Follows HTTP 3xx redirects automatically. |