curl get request with headers and authenticaion code example Example: curl authorization header curl -H "Authorization: token_str" http://www.example.com