I am using the Arduino IDE with ESP-library on top. No LUA.

I am searching for a HTTP-GET-Connect (ESP acts as client) procedure which can store a response with dynamic length. For example, openweather.org API returns a JSON structure I then want to parse.

So far, I can only store a limited amount of the JSON, about 200 bytes. Works good, I can read the key-values and use them to trigger the onboard LED as an example.

Two issues:
JSON parsing will crash the ESP on large data
And I don’t know how to store the HTTP-response with more than 256 bytes.


Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha loading...