Answers for "restclient basic auth c#"

C#
2

restclient basic auth c#

var client = new RestClient("http://yoururl.com");
client.Authenticator = new HttpBasicAuthenticator(userName, password);

var request = new RestRequest("resource", Method.GET);
client.Execute(request);
Posted by: Guest on September-10-2020

C# Answers by Framework

Browse Popular Code Answers by Language