Basic Authentication


#1

I am trying to connect to a Web Service that uses Basic Authentication and I was trying to use the Getjson() but i’m unsure how I can accomplish passing username / password.

I did try adding to the url username:password@urlAddress but that didn’t work.

Should I be using Ajax instead ?

Any Suggestions?

Thanks


#2

Ajax is the way to go here. The web service provider might have some sample code.