# 如果username中携带:, 执行URLencode username,password
# https://devpal.co/url-encode/
curl --user username:password https://example.com
curl -u username:password https://example.com
curl -u 'username:password' https://example.com
curl -H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' https://example.com