Answers for "defaultrequestheaders.authorization basic auth"

C#
0

defaultrequestheaders.authorization basic auth

// For basic auth use the following:
HttpClient client = new HttpClient();
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", "encrypted user/pwd");
Posted by: Guest on March-27-2021

C# Answers by Framework

Browse Popular Code Answers by Language