According to various definitions in the internet, curl is a tool to transfer data from or to a server. Curl supports the following protocols. DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS,
POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and
TFTP. I was working with content delivery networks(cdn) and came across this command to get the headers related to the caching of the objects. Later when I checked the use cases, I found it very interesting. So I'm sharing the points here.