Hi,
Looking at your code above - the headers is not doing what you think it is... - the parameters need to be part of the path.
path: '/eb/belt/washington/tolls.json?orderBy=%22$key%22&limitToLast=1',
Without this you get 600k of data back and this is too much!
However - this is not the issue.
It looks like since the esp-idf version of the mBed TLS was added that https is no longer working... This simple case fails:
var http = require("http"); http.get("https://www.google.com", function(res) { res.on('data', function(data) { console.log(data); }); });
Added a new issue:
https://github.com/espruino/Espruino/issues/1613
thank you!
@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,
Looking at your code above - the headers is not doing what you think it is... - the parameters need to be part of the path.
path: '/eb/belt/washington/tolls.json?orderBy=%22$key%22&limitToLast=1',
Without this you get 600k of data back and this is too much!
However - this is not the issue.
It looks like since the esp-idf version of the mBed TLS was added that https is no longer working... This simple case fails:
Added a new issue:
https://github.com/espruino/Espruino/issues/1613