Got it, you need to specify an undocumented parameter in options called protocol, and set it to https: (note the trailing colon).
protocol
https:
var options = { host: 'google.com', protocol: 'https:', port: 443, path: '/', method: 'GET', };
@dave_irvine 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.
Got it, you need to specify an undocumented parameter in options called
protocol
, and set it tohttps:
(note the trailing colon).