Instead of using
request.Credentials = new NetworkCredential(username, password);
try the following (sorry it's in C#) as .NET will try an
unauthenticated request first, before trying an authenticated
request :
byte[] encbuff = System.Text.Encoding.UTF8.GetBytes(username +
":" + password);
String enc = Convert.ToBase64String(encbuff);
request.Headers.Add("Authorization", "Basic " + enc);
On Nov 24, 3:26 am, Michael Rutherford <
rutherf...@michaelsworld.net>
wrote:
> Yes, when I send the request to the server, I set the network credentials
> with my username and password. The same way I would any other call that
> requires authentication.
>
> On Tue, Nov 24, 2009 at 1:23 PM, Michael Steuer <
mste...@gmail.com> wrote:
> > Are you sure your checking your rate with an authenticated call? If you
> > don't, you'd get the rate for your IP
>