Skip to Content
avatar image
Former Member

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

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 ( ., 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 ?

xshttdest.png (13.9 kB)
xsjs.png (20.8 kB)
error.png (4.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers