cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to call Rest API from XSJS from HANA MDC XSJS Workbench (HANA Trial)

Former Member
0 Kudos

Hi All,

I am trying to call a REST API which is created in another cloud platform from my XS Workbench in HCP. As per the SAP Tutorial (https://help.sap.com/doc/b3d0daf2a98e49ada00bf31b7ca7a42e/2.0.00/en-US/73cf0393c85b467eb948edba5cdad014.html) ., I created the .xshtttpdest file and tried to call the the api from the workbench.Please find below attached xshttpdest file.

After defining the API , I checked in XS Admin tool to verify the destination activation and entered the username and password for credentials.

Below given is code for xsjs from where I am reading the Destination.

Once I run this I am getting the below error.

Can anyone please help me resolve this issue ?

Accepted Solutions (0)

Answers (0)