Set a timeout for Curl
curl --connection-timeout 5 https://reqbin.com/echo
curl --connection-timeout 5 https://reqbin.com/echo
curl https://reqbin.com/echo -A "ReqBin Curl Client/1.0"
References
https://reqbin.com/req/c-ekublyqq/curl-user-agent
curl -H "Origin: https://example.reqbin.com" https://reqbin.com/echo
References
https://reqbin.com/req/c-taimahsa/curl-cors-request
curl https://reqbin.com/echo/get/json -H "Accept: application/json"
References
https://reqbin.com/req/c-vdhoummp/curl-get-json-example
curl -L http://www.reqbin.com/echo
References
https://reqbin.com/req/c-bvijc9he/curl-follow-redirect
curl https://reqbin.com/echo -x myproxy.com:8080 -u login:password
References
https://reqbin.com/req/c-ddxflki5/curl-proxy-server
curl https://reqbin.com/echo -u "login:password"
References
https://reqbin.com/req/c-haxm0xgr/curl-basic-auth-example
curl --cookie "Name=Value" https://reqbin.com/echo
References
https://reqbin.com/req/c-bjcj04uw/curl-send-cookies-example
curl https://reqbin.com/echo/get/json -H "X-Custom-Header: value" -H "Content-Type: application/json"
References
https://reqbin.com/req/c-ea0d5rlb/curl-add-header-example
curl -k https://expired.badssl.com
References
https://reqbin.com/req/c-ug1qqqwh/curl-ignore-certificate-checks