curl使用用户名密码
使用-u标志来包含用户名,curl将提示输入密码:curl -u username http://login.com在命令中包含密码,但密码将在bash历史记录中显示:curl -u username:password 'http://login.com?a=1&b=2'
·
使用-u
标志来包含用户名,curl将提示输入密码:
curl -u username http://login.com
在命令中包含密码,但密码将在bash历史记录中显示:
curl -u username:password 'http://login.com?a=1&b=2'
更多推荐
已为社区贡献10条内容
所有评论(0)