3 ms·
Yes, Basic auth is the default in curl, if you provide credentials off the bat. Use --digest to default to digest auth. If you don't provide credentials, curl
by noselasd 14y ago
Yes, Basic auth is the default in curl, if you provide credentials off the bat. Use --digest to default to digest auth.
If you don't provide credentials, curl will prompt you and do the authentication the server requests (if any). Using --anyauth will also let the server decide.
They're probably not going to change that default and break millions of scripts on the next apt-get upgrade.
- mnarayan01 14y agoAdditionally, if you want a more high level interface which makes multiple requests per command, wget is a good option.