cURL (Client URL) is a command-line tool that is used by developers to download data from a server or upload data to a server.
The curl
lets us interact with a server by specifying an address (URL) and the data we want to send or receive.
Let’s see what we get when we use curl
on http://www.example.com/.
curl https://www.google.com/
We’ll see that it has returned the code of the webpage (http://www.example.com/) in return for our request.
curl
?Following are the uses of curl
: