You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Secured way of calling REST services in Java Script

Summary:

Hi,

For one use case where we need to construct the END Point URL dynamically, We are doing that in Java script and using Basic Auth as authentication mechanism. We are storing user name and password in ATP table and using the same to call REST service(POST) in JS using fetch API.

We are planning to change Authentication mechanism as Basic Auth. What is the most secured way of calling REST services from Java Script and how to do it ? Which authentication mechanism should I use to call service in JS?

Content (please ensure you mask any confidential information):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!