>_ linuxcommand.dev
Startseite curl
Networking

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
Download file
curl -O https://example.com/file.tar.gz
Inspect headers
curl -I https://example.com
POST JSON
curl -X POST -d '{"k":"v"}' https://api.example.com
Note Supports HTTP, HTTPS, FTP, and more. Ideal for APIs and scripted downloads.
Export