Objective
Learn how to use cURL to make HTTP requests to interact with online content.
Distributions
All GNU/Linux distributions
Requirements
Just cURL. It’s available in every distribution’s repository.
Difficulty
Easy
Conventions
#
– requires root access either via su
or sudo
.
$
– run as your regular user
Introduction
cURL is a command line multi-tool for interacting with the web. cURL is capable of acting like a web browser, downloading files, accessing APIs, and even signing you into online accounts. cURL can be scripted, and it handles everything from a simple command line interface.