[英]curl command not reading the file properly
我正在從 Azure 管道執行如下所示的 curl。
kubectl exec ${podName} -- curl -w "@test.txt" -vik --resolve ${{ parameters.DomainPrimary }}:443:$IPPrimary ${APP_ENDPOINT}
我的 test.txt 包含類似的數據
time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_appconnect: %{time_appconnect}\n
time_pretransfer: %{time_pretransfer}\n
time_redirect: %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
----------\n
time_total: %{time_total}\n
Warning: Failed to read test.txt*
我想打印 curl 電話的所有時間相關信息。 任何輸入都可能有幫助
在本地從我的 ubuntu shell curl 調用工作正常作為響應它會打印時間信息
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.