Code: Select all
owm.begin(OWM_URL);
int HTTPrc = owm.GET();
if(HTTPrc)
{
StreamString owmdata = owm.getString();
Serial.printf("HTTP status: %d\n", HTTPrc);
Code: Select all
owm.begin(OWM_URL);
int HTTPrc = owm.GET();
if(HTTPrc)
{
StreamString owmdata = owm.getString();
Serial.printf("HTTP status: %d\n", HTTPrc);
Code: Select all
owm.begin(OWM_URL);
int HTTPrc = owm.GET();
if(HTTPrc)
{
StreamString owmret;
owm.writeToStream(&owmret);
Serial.printf("HTTP status: %d\n", HTTPrc);
Users browsing this forum: Google [Bot] and 30 guests