Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

HANA outbound connection - Best approach?

$
0
0

I am trying to call a httpdestination inside my application. This works. However the website I am calling using this code

 

 

var dest = $.net.http.readDestination(destination_package, destination_name);

       var client = new $.net.http.Client();

       var req = new $.web.WebRequest($.net.http.GET, "?origins=Frankfurt&destinations=Cologne&mode=driving&language=en-US&sensor=false");

       client.request(req, dest);

       var response = client.getResponse(); 

requires me to use a https connection.

 

I found this tutorial:Outbound httpS with HANA XS (part 1) - set up your HANA box to use SSL/TLS

 

But that doesn't help me.

 

What would be the best approach to do this?


Viewing all articles
Browse latest Browse all 3285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>