Hello,
I'm trying to create a counter for Etsy platform which has its own API. I have already tried it via console ( with XMLHttpRequest()) and everything works fine. And have started working with ESP8266.
Wifi connected, the request is sent, but I receive not the same answer as for example when putting the same URL in the browser.
But if I put the same request in browser "https://openapi.etsy.com/v2/shops" I at least see "API request missing api_key or valid OAuth parameters" (just don't want to show my ApiKey).
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.
Hello,
I'm trying to create a counter for Etsy platform which has its own API. I have already tried it via console ( with XMLHttpRequest()) and everything works fine. And have started working with ESP8266.
Wifi connected, the request is sent, but I receive not the same answer as for example when putting the same URL in the browser.
My function:
in console I see:
But if I put the same request in browser "https://openapi.etsy.com/v2/shops" I at least see "API request missing api_key or valid OAuth parameters" (just don't want to show my ApiKey).
As for other links "http://www.pur3.co.uk/hello.txt" or "http://samples.openweathermap.org/data/2.5/weather?q=London,uk&appid=b1b15e88fa797225412429c1c50c122a1" everything is ok.
So in result I'm see 'the wall' before next steps.
Could anyone help to solve it?
Thanks