I tried doing this with C#. The same code auths me when auth is required, but when auth is not required, it doesn't auth me. Here's the code:
HttpWebRequest client = (HttpWebRequest)WebRequest.Create(xmlURL); client.UseDefaultCredentials = false; client.AuthenticationLevel = System.Net.Security.AuthenticationLevel.MutualAuthRequired; client.Credentials = credentials; client.Timeout = 20000; client.PreAuthenticate = true; Anyone know why this wouldn't auth me on non-auth-required API calls? On Mar 15, 3:49 pm, TjL <[email protected]> wrote: > On Sun, Mar 15, 2009 at 3:34 PM, Kyle Tolle <[email protected]> wrote: > > Is there a way to authenticate with an account even for pages that > > don't require it? If not, there definitely should be. > > Sure, just always use your auth creds when you send a request. > > TJL
