there is one error message "ERROR { "code": -15, "message": "no response" } after we changed the code as below
function connectionReady() { console.log("connectionReady."); var http = require("http"); http.get("http://www.pur3.co.uk/hello.txt", function(res) { res.on('data', function(data) { console.log(data); }); }) .on('error', function(err) { console.log('ERROR', err); }); }
@user97438 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.
there is one error message "ERROR { "code": -15,
"message": "no response"
}
after we changed the code as below