113498266Sopenharmony_ci---
213498266Sopenharmony_cic: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
313498266Sopenharmony_ciSPDX-License-Identifier: curl
413498266Sopenharmony_ciLong: basic
513498266Sopenharmony_ciHelp: Use HTTP Basic Authentication
613498266Sopenharmony_ciProtocols: HTTP
713498266Sopenharmony_ciCategory: auth
813498266Sopenharmony_ciAdded: 7.10.6
913498266Sopenharmony_ciMulti: mutex
1013498266Sopenharmony_ciSee-also:
1113498266Sopenharmony_ci  - proxy-basic
1213498266Sopenharmony_ciExample:
1313498266Sopenharmony_ci  - -u name:password --basic $URL
1413498266Sopenharmony_ci---
1513498266Sopenharmony_ci
1613498266Sopenharmony_ci# `--basic`
1713498266Sopenharmony_ci
1813498266Sopenharmony_ciTells curl to use HTTP Basic authentication with the remote host. This is the
1913498266Sopenharmony_cidefault and this option is usually pointless, unless you use it to override a
2013498266Sopenharmony_cipreviously set option that sets a different authentication method (such as
2113498266Sopenharmony_ci--ntlm, --digest, or --negotiate).
2213498266Sopenharmony_ci
2313498266Sopenharmony_ciUsed together with --user.
24