curl -H 'Authorization: Bearer $API_TOKEN' https://api.example.com
Category: Networking
curl -H 'Authorization: Bearer $API_TOKEN' https://api.example.com
Add a custom header to a request
Adds a custom HTTP header to the request — commonly used for authentication tokens.