Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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);
 
PREVIOUS NEXT
Tagged: #restclient #basic #auth
ADD COMMENT
Topic
Name
9+7 =