electronicsguy / ESP8266

ESP8266 Projects
242 stars 183 forks source link

How to store read values? #101

Closed kevinagnes closed 3 years ago

kevinagnes commented 3 years ago

Dear @electronicsguy, thank you for this incredible library!

I am working on a project that I need to store the values from the spreadsheet. So far, I was able to do the request the value with the function:

client->GET(url3, host);

But the function only prints the value of A1. How can I store this value in a string variable?

Kind regards, Kevin.

github-actions[bot] commented 3 years ago

Welcome to HTTPSRedirect! Please provide enough info to debug the issue.

kevinagnes commented 3 years ago

I figure it out! I am still learning how to use pointers. I hope it helps anyone:

client->GET(url3, host); String sheetvalue = client->getResponseBody();