Skip to Content
Former Member
Mar 05, 2014 at 12:49 PM

How to call XSJS from Browser by passing UserId/Password


Hi there!

I have built a small application based on HANA.

I have built xsjs file. I am able to query these from the browser, using JQuery.

But the first time I make a call, I get prompted for UserId/Password (Basic Authentication).

How do I make the call, bypassing this prompt.

I can hardcode or pass userid/password as part of jquery string.

I donot want the browser to prompt me for userid/password. I want to have a control on calling the xsjs with appropriate userid/password.

I will apreciate if any direction is provided on this.