Curl Basic Auth Header Code Example
Example 1: curl authorization header
curl -H "Authorization: token_str" http://www.example.com
Example 2: curl with basic auth
curl -u username:password http:// curl -u username http://
Example 3: basic authentication bash
$ echo -n user:password | base64
Comments
Post a Comment