curl: Mixed topics


cURL (Client URL CLI) is a command line tool which allows to transfer data using many different protocols including HTTP protocol. Because of this capability it is often used to send requests to Web servers. Because it’s a command line tool is is very well suited for unattended processes like in CI/CD pipelines for example.

The tool can be installed by the following commands in a Linux environment:

You can first check whether you have the tool already installed in your system by checking its version:

curl --version

If the tool is not installed, you can update your system

sudo apt update

sudo apt upgrade

and then install the tool:

sudo apt install curl

To test the command, you can access a web server:

curl -L http://www.bing.com