What is it cURL
It is a tool to transfer data from or to a server, using one of the supported protocols
(DICT,FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP,SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP). The command is designed to work without user interaction.
It offers a busload of useful tricks like proxy support, user authentication, FTP upload, HTTP post, SSL connections, cookies, file transfer resume, Metalink, and more.
By default, cURL will perform GET requests on whatever URL you supply
Example: cURL www.google.com
curl <url> -X POST -d “data to send”