2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2016-11-16 06:44:58 +08:00
|
|
|
Long: basic
|
|
|
|
Help: Use HTTP Basic Authentication
|
|
|
|
See-also: proxy-basic
|
|
|
|
Protocols: HTTP
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: auth
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: -u name:password --basic $URL
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 7.10.6
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: mutex
|
2016-11-16 06:44:58 +08:00
|
|
|
---
|
|
|
|
Tells curl to use HTTP Basic authentication with the remote host. This is the
|
|
|
|
default and this option is usually pointless, unless you use it to override a
|
|
|
|
previously set option that sets a different authentication method (such as
|
|
|
|
--ntlm, --digest, or --negotiate).
|
|
|
|
|
|
|
|
Used together with --user.
|