其他分享
首页 > 其他分享> > curl命令使用

curl命令使用

作者:互联网

请求连接:http://127.0.0.1:9999/spark/mongo/t/test

请求参数:请求参数为map格式的K-V类型

    startTime=2022-01-01%2014%3A30%3A19

    endTime=2022-01-05%2015%3A00%3A19

完整命令

curl -s -w "\nhttp_code:%{http_code}\ntime_namelookup:%{time_namelookup}\ntime_connect: %{time_connect}\ntime_starttransfer: %{time_starttransfer}\ntime_total: %{time_total}\n" "http://127.0.0.1:9999/spark/mongo/t/test?startTime=2022-01-01%2014%3A30%3A19&endTime=2022-01-05%2015%3A00%3A19"   返回数据

http_code:000
time_namelookup:0.000
time_connect: 0.000
time_starttransfer: 0.000
time_total: 0.000

   

标签:01,http,使用,命令,3A19,time,curl,ntime,0.000
来源: https://www.cnblogs.com/chuijingjing/p/16458777.html