• Oh, thank you so much!

    Now it works in my desktop node.js

    var http = require('http');
    
    var options = { host: 'httptohttps.mrtimcakes.com', 
    			path: '/https://openapi.etsy.com/v2/shops/shop­ID?method=GET&api_key=apikey',  
    			headers: {'user-agent': 'Mozilla/5.0'}
    			};
    
    http.get(options, function(res) {  
    	console.log("Got response: " + res.statusCode);
    	var dataQueue = "";
    	res.on('data', function(d) {
    		dataQueue += d;
    		console.log(dataQueue);
    		myObj = JSON.parse(dataQueue);
    		console.log(myObj.results[0].num_favorer­s)
    	});
    
    }).on('error', function(e) {
    	console.log("Got error: " + e.message);
    });
    

    but when I try the same in ESP8266 I receive

    =undefined
    Got error: not found
    

    But now it's closer to the solution!)

    UPD
    And ordered Espruino WIFI to try it later when it comes, but before I want to finish this problem with ESP8266

About

Avatar for MaBe @MaBe started