iw7-mod/deps/curl/docs/cmdline-opts/basic.md

24 lines
580 B
Markdown
Raw Permalink Normal View History

2024-08-13 05:15:34 -04:00
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: basic
Help: Use HTTP Basic Authentication
Protocols: HTTP
Category: auth
Added: 7.10.6
Multi: mutex
See-also:
- proxy-basic
Example:
- -u name:password --basic $URL
---
# `--basic`
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.