cURL

options

curl -X POST -H "Authorization: Bearer your_token" -d '{"key": "value"}' https://api.example.com/resource

-X --request
-H --header
-0 --output
-d --data
-f, --fail

references