Showing results for 
Search instead for 
Did you mean: 

How to call remote rest service from xsjs?

Former Member
0 Kudos

Hi all,

  I'm pretty new to SAP HANA and I need to call a rest service from my xsjs (for example:

  My xsjs looks like the one I attached. The question is: how do I do it?

I tried to make a post:


But I got a 500 error page. I also tried get


But also got a 500 error page.

  Thanks in advance!!!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all!

  I got it done! I followed the examples in

SAP HANA Cloud Platform

  and now it works. Thanks!!!

Active Contributor
0 Kudos

Hello Rodrigo,

in HANA there exists outbound HTTP connectivity. Just follow the description in the online documentation Maintaining HTTP Destinations - SAP HANA Developer Guide for SAP HANA Studio - SAP Library.

Best Regards,