curl

Download files from the internet via HTTP, HTTPS, or FTP

brewmacoslinux
Try with needOr install directly
Source

About

Get a file from an HTTP, HTTPS or FTP server

Commands

curl

Examples

download a file from a website$ curl -O https://example.com/file.zip
save downloaded file with a different name$ curl -o myfile.html https://example.com
send data to a server with POST request$ curl -X POST -d 'param1=value1&param2=value2' https://example.com/api
view webpage content in terminal$ curl https://example.com
test API endpoint with custom headers$ curl -H 'Authorization: Bearer token' https://api.example.com/data