Curl: Difference between revisions

Content added Content deleted
Line 87: Line 87:
Ignoring the ssl certificate warning curl -k <nowiki>https://domain.com</nowiki>
Ignoring the ssl certificate warning curl -k <nowiki>https://domain.com</nowiki>
Getting information about supported methods curl -i -X OPTIONS http://10.107.88.68:8082
Getting information about supported methods curl -i -X OPTIONS http://10.107.88.68:8082

= Scripts =

* Testing Response Times:
while true; do curl -s -w 'Testing Response Time for :%{url_effective}\n\nLookup Time:\t\t%{time_namelookup}\nConnectTime:\t\t%{time_connect}\nPre-transfer Time:\t%{time_pretransfer}\nStart-transfer Time:\t%{time_starttransfer}\n\nTotal Time:\t\t%{time_total}\n' -o /dev/null https://google.com ; sleep 10; done


=URL syntax=
=URL syntax=