-u, --user <user: password>
Specify a username and password for server authentication. Overrides -n, -netrc, and -netrc-optional.
If you just provide a username, curl will ask for a password.
The username and passwords are separated by the first colon, which makes it impossible to use a colon in the username with this option. Password may, still.
When using Kerberos V5 with a Windows-based server, you must include the Windows domain name in the username so that the server can successfully obtain a Kerberos ticket. If you do not, authentication may fail.
When using NTLM, the username can be specified simply as the user name, without a domain, if there is one domain and a forest, for example, your setting.
To specify a domain name, use either the top-level login or UPN (User Principal Name). For example, EXAMPLE \ user and user@example.com, respectively.
If you use a binary key with Windows SSPI support and run Kerberos V5, Negotiation, NTLM or Digest verification, then you can say that select a username and password from your environment by specifying one colon with this option: "-u:".
If this parameter is used several times, the latter will be used.