Curl

From DWIKI
Revision as of 10:05, 23 August 2023 by Tony (talk | contribs) (→‎HOWTO)

HOWTO

Check supported TLS version

curl -I -v --tlsv1.2 --tls-max 1.2 https://www.example.com/


Specify hostname for https request

https://stackoverflow.com/questions/50279275/curl-how-to-specify-target-hostname-for-https-request

curl --resolve example.com:443:192.0.2.1 https://example.com