CURL 101 on Linux

Curl using Dns-over-HTTPS ( DoH)

curl --doh-url 

// will return fail

If the site only accept tls1.3

curl --tlsv1.3 -v

If the site only accept tls1.2

curl --tlsv1.2 -v

Upload a file

curl -F "[email protected]"

Only ipv4

curl -4

Get http status

curl -I
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