Anytoe
Anytoe

Reputation: 1675

HTTP Basic Authentication - Password only, no username?

I am trying to connect to a Windows Azure Mobile Service. I can call an endpoint via browser, but I am getting prompted to enter username and password. I enter my 'Application Key' as password, but leave the username blank and from then on it works fine.

Is there any way of calling the endpoint without entering the password? Normally I would try:

http://username:[email protected]

But as there is no username, the following does not work:

http://:[email protected]

What can I do? the reason behind this is, that I do not want to use the Mobile Services SDK.

Upvotes: 0

Views: 5484

Answers (1)

Anytoe
Anytoe

Reputation: 1675

The following URL works fine in Chrome:

http://:[email protected]

Firefox and Internet Explorer won't recognize the format.

So if you are trying to use Windows Azure Mobile Services, there's no need to use the Azure Mobile SDK, the above works fine.

Upvotes: 2

Related Questions