curl --location --request GET 'https://test.abc.com/v1/health' --header 'Authorization: Apikey 20220602'
-H "Content-Type: application/json"
-d "{ \"claimStatus\": 0, \"lastBillMonth\": 202208, \"occurDateTime\": \"2022-09-01 00:00:00\"}"
curl -k --resolve foo.bar:443:127.0.0.1 'https://foo.bar/foobar' -v -so /dev/null -w '%{size_download}'
curl -H 'Host: web-host' http://192.168.1.100
curl $KUBE_API/apis/apps/v1/deployments \
--cacert ~/.minikube/ca.crt \
--cert ~/.minikube/profiles/cluster1/client.crt \
--key ~/.minikube/profiles/cluster1/client.key
for i in `cat url.txt`
do
code=`curl -o /dev/null -s -w "%{http_code}" $i`
if [ $code != 200 ];then
curl -H "Content-Type: application/json;charset=utf-8" \
-d "{'msgtype': 'text','text': {'content': $i, '预发环境: 地址异常'}}" \
https://oapi.dingtalk.com/robot/send?access_token=15026b8e5b68ec
fi
done
curl --insecure https://www.example.com -H 'X-Forwarded-For: 1.1.1.1'
curl --user "gwy:Q1" guowy-cloud-eureka-server-0.eureka-headless.default.svc.cluster.local:8080
curl -u guowy: -X POST http://pre-prometheus..com/-/reload
curl -L -w "namelookup: %{time_namelookup}\nconnect: %{time_connect}\nappconnect: %{time_appconnect}\npretransfer: %{time_pretransfer}\nstarttransfer: %{time_starttransfer}\ntotal: %{time_total}\n" https://example.com/