pass authorization header in curl code example
Example 1: curl authorization header
curl -H "Authorization: token_str" http://www.example.com
Example 2: curl pass a header
curl -H "Accept-Charset: utf-8" -H "Content-Type: application/x-www-form-urlencoded" http://www.some-domain.com