You are reading a single comment by @Will and its replies. Click here to read the full conversation.
  • 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/iss­ues/1613

About

Avatar for Will @Will started