Framework for IoT projects implementing HTTPS requests, a React web interface, WiFi manager, live dashboard, configuration manager, file manager and OTA updates.
Hi.
Your example show´s how to get your fetch to a serial.write output. Is there an example to get the response to a string value or are you able to give me a hint to get the Serial.write to String?
My target is to serialize.json the response of a https get. I don´t get the String from Serial.write(fetch.read()); to a string variable.
` Serial.println(ESP.getFreeHeap());
fetch.GET("https://www.google.com");
while (fetch.busy())
{
if (fetch.available())
{
Serial.write(fetch.read());
}
}
fetch.clean();`
Hi. Your example show´s how to get your fetch to a serial.write output. Is there an example to get the response to a string value or are you able to give me a hint to get the Serial.write to String? My target is to serialize.json the response of a https get. I don´t get the String from Serial.write(fetch.read()); to a string variable.
` Serial.println(ESP.getFreeHeap());