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

How to call REST API from JavaScript like we do in action chain

Summary:

Hi Experts

I want to call the REST API from javascript similarly like how we call api from action chain. I copy pasted the code from action chain to the javascript function but i'm facing below error while, please help me as i want to use the same syntax like action chain i.e. making use of the service connection configured in the application. Please help me.

below is the code you may import and test on your vbcs instance. Thank you

@Sherif Bashar@Mohammed Galal@Vignesh Viswanath-Oracle@Nada Bashar

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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