« Back to full topics list
0
0

Hello,

From your documentation, I can see that I can use the “http” module to invoke third party APIs from my scriptr.io scripts. Does this mean that all requests are sent through http and not https? It is very important for us to use SSL to transfer IoT data securely. Thanks.

ANSWERED
Marked as spam
Posted by - Asked on January 3, 2017 12:12 pm - 32 views

1 Replies

1
Private reply

Hi Elie,

Of course you can use https as scriptr.io’s “http” module also handles SSL. The only thing you need to do is actually to invoke a URL with “https”, e.g. :

var http = require(“http”);
var params = {
url: “https://someurl.com/someresource”
};
http.request(params);

Marked as spam
Posted by - Replied on January 4, 2017 10:02 am