curl 参数用法,测试http请求过程各项时间

admin 2020-03-06 PM 319℃ 0条

curl -o /dev/null -s -w time_namelookup:"\t"%{time_namelookup}"\n"time_connect:"\t\t"%{time_connect}"\n"time_appconnect:"\t"%{time_appconnect}"\n"time_pretransfer:"\t"%{time_pretransfer}"\n"time_starttransfer:"\t"%{time_starttransfer}"\n"time_total:"\t\t"%{time_total}"\n"time_redirect:"\t\t"%{time_redirect}"\n" 'https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=xxxx'


image.png


各项参数说明:

https://blog.csdn.net/weifangan/article/details/80741981


标签: curl

非特殊说明,本博所有文章均为博主原创。