Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

defaultrequestheaders.authorization basic auth

// For basic auth use the following:
HttpClient client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", "encrypted user/pwd");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #basic #auth
ADD COMMENT
Topic
Name
4+2 =