blob: ca873b8bb62dece2afabadbb124a308d9aba85fb [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: basic
4Help: Use HTTP Basic Authentication
5See-also: proxy-basic
6Protocols: HTTP
7Category: auth
8Example: -u name:password --basic $URL
9Added: 7.10.6
10Multi: mutex
11---
12Tells curl to use HTTP Basic authentication with the remote host. This is the
13default and this option is usually pointless, unless you use it to override a
14previously set option that sets a different authentication method (such as
15--ntlm, --digest, or --negotiate).
16
17Used together with --user.