How to set the authorization header using cURL
How do I pass authorization header using cURL? ( executable in /usr/bin/curl). 12 s 12 Just adding so you don’t have to click-through: curl –user name:password http://www.example.com or if you’re trying to do send authentication for OAuth 2: curl -H “Authorization: OAuth <ACCESS_TOKEN>” http://www.example.com