Hi @Gordon
From here: http://www.espruino.com/Internet
HTTPS
The only board currently supporting this is the Espruino Pico. To use HTTPS simply use it in the URL of any normal HTTP request:
require("http").get("https://www.google.com", function(res) { res.on('data', function(data) { /* ... */ }); });
To specify keys and certificates, you can use an options object - see require('tls').connect(...)
Does the get with https work without loading keys as implied above?
@Wilberforce started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi @Gordon
From here:
http://www.espruino.com/Internet
HTTPS
The only board currently supporting this is the Espruino Pico. To use HTTPS simply use it in the URL of any normal HTTP request:
To specify keys and certificates, you can use an options object - see require('tls').connect(...)
Does the get with https work without loading keys as implied above?