2024-05-15 15:20:32 -04:00
|
|
|
---
|
2023-12-11 20:30:44 -05:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
SPDX-License-Identifier: curl
|
|
|
|
Long: basic
|
2024-05-15 15:20:32 -04:00
|
|
|
Help: HTTP Basic Authentication
|
2023-12-11 20:30:44 -05:00
|
|
|
Protocols: HTTP
|
|
|
|
Category: auth
|
|
|
|
Added: 7.10.6
|
|
|
|
Multi: mutex
|
2024-05-15 15:20:32 -04:00
|
|
|
See-also:
|
|
|
|
- proxy-basic
|
|
|
|
Example:
|
|
|
|
- -u name:password --basic $URL
|
2023-12-11 20:30:44 -05:00
|
|
|
---
|
2024-05-15 15:20:32 -04:00
|
|
|
|
|
|
|
# `--basic`
|
|
|
|
|
|
|
|
Use HTTP Basic authentication with the remote host. This method is the default
|
|
|
|
and this option is usually pointless, unless you use it to override a
|
2023-12-11 20:30:44 -05:00
|
|
|
previously set option that sets a different authentication method (such as
|
|
|
|
--ntlm, --digest, or --negotiate).
|
|
|
|
|
|
|
|
Used together with --user.
|