curl
Transfer data to or from URLs.
Syntax
$curl [OPTIONS] URL
Examples
Examples
$curl -O https://example.com/file.tar.gz
Examples
$curl -I https://example.com
Typical use cases
curl -O https://example.com/file.tar.gz
curl -I https://example.com
curl -X POST -d '{"k":"v"}' https://api.example.com
Note
Supports HTTP, HTTPS, FTP, and more. Ideal for APIs and scripted downloads.
Export