curl带cookie 查询请求时间

curl

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" -X post http://shop-api-simulate.vchangyi.com/gw-shop/app/v1/new-template/page-config --header "content-type": "application/json" --header "token": "eyJpdiI6IjN5Y1NPSlloTHhWa1dSMFV1ZE1jcGc9PSIsInZhbHVlIjoiVVBkSFlhVXRMK3N1RnRQUXZJaWM4WCs2U0NuNGxhZkhlWHRiVGs5SGs5MCtFOUVWcVNcLzR0UHZnaktWWGdqRHNxM3VMVlErbEt6YTE1cmlSK05iS2RpOThqQmRtbkFXQ0ZUUHhtNUE2MHBhUmJ3d2I2SlNyQ1dTZmJPUm9MTjB3IiwibWFjIjoiMzYzM2UyNjg2NGU5OTY2YmFlYjkxYjIwNWExZTYwYmIyMmQ3MGM1OTg5ZDk0YTZjOTJmZGM0Mjc1YWJiOWMzOCJ9" --header    "app-version": "V1.7.8" --header    "enterprise-hash": "c65c5818581df666191809e1913a9d75" --data ' {"template_type": "index"}' 

time_namelookup

time_connect

time_appconnect

time_pretransfer

time_starttransfer

time_total

time_redirect

带上cookie的话

--cookie "key=value"

-b c2.txt

c2.txt为cookie值的文件

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值