CURL 101 on Linux

Curl using Dns-over-HTTPS ( DoH)

curl --doh-url https://doh-jp.blahdns.com/dns-query https://ssl.google-analytics.com 

// will return fail

If the site only accept tls1.3

curl --tlsv1.3 -v https://0x0.st

If the site only accept tls1.2

curl --tlsv1.2 -v https://0x0.st

Upload a file

curl -F "[email protected]" https://0x0.st

Only ipv4

curl -4 https://0x0.st

Get http status

curl -I https://www.photonvps.com
HTTP/1.1 200 OK
Server: PokeCDN/2
Date: Tue, 24 Dec 2019 08:33:28 GMT
Content-Type: text/html
Content-Length: 21306
Connection: keep-alive
Last-Modified: Wed, 03 Apr 2019 11:04:04 GMT
Accept-Ranges: bytes
PokeCDN: bee889ae5277ea3d80542586484af2a4