How to send a Header data through HTTP Request using curl

(103 Views)

What is curl?

curl 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, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP). The command is designed to work without user interaction.

If you don't have curl installed you can install it by following below steps.

Install curl on Windows:

Download curl package from Curl Offical Site , now unzip it wherever you want. No need to install it.

Setup Curl in Windows:

You'll have to give path to curl.exe in your Environment variables if you want to use it from anywhere in the command line. To do this, pick any nice location you want and add it to the system path, like this: