curl-w32/docs/cmdline-opts/basic.md

580 B

c SPDX-License-Identifier Long Help Protocols Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl basic Use HTTP Basic Authentication HTTP auth 7.10.6 mutex
proxy-basic
-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.