curl

Transfer data from or to a server

← All commands

Common Examples

$ curl https://api.example.com
$ curl -X POST -d "data" url
$ curl -H "Auth: token" url
$ curl -o file.zip url
$ curl -s url | jq .