basic.d 567 B

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