http-Authorization http 鉴权

curl -u "root:open" 'http://10.10.160.254:8888/stats;csv;norefresh'

wget 'http://10.10.160.254:8888/stats;csv;norefresh' --http-user=root --http-password=open


http://zh.wikipedia.org/wiki/HTTP%E5%9F%BA%E6%9C%AC%E8%AE%A4%E8%AF%81

Authorization  用户名:密码

使用base64编码    用户名:密码
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

猜你喜欢

转载自phl.iteye.com/blog/1985384