aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/basic.d
blob: abab7d0683882f3510a05fedcf254cb8f0025a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Long: basic
Help: Use HTTP Basic Authentication
See-also: proxy-basic
Protocols: HTTP
Category: auth
Example: -u name:password --basic $URL
Added: 7.10.6
---
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.