I\'m trying to use HTTPWebRequest to access a REST service, and am having problems passing credentials in, see code below. I\'ve read that NetworkCredenti
If your server uses NTLM authentication you may try this:
CredentialCache cc = new CredentialCache();
cc.Add(
new Uri("https://mywebserver/webpage"),
"NTLM",
new NetworkCredential("user", "password"));
request.Credentials = cc;