ESP8266 Spreadsheet update #13
Answered
by
mobizt
MeowCattoNiP
asked this question in
Q&A
-
|
Hi, in the example code, there's a comment stating to use string instead of FirebaseJSON. I am not sure how to implement that. ` FirebaseJson response; |
Beta Was this translation helpful? Give feedback.
Answered by
mobizt
Feb 23, 2023
Replies: 1 comment 9 replies
-
|
Pass the String pointer to the function like this. String response;
GSheet.values.update(&response, ... |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You may don't get what I mean from previous reply.
Only the server response that you can use
Stringobject for the returning value from the function as this.The
valueRangethat passed to the function is for the payload to send to server not a response and it must beFirebaseJsonobject as in an example like this.You can't use
StringforvalueRange.I wrote it clearly in all examples that you can use
Stringfor response instead ofFirebaseJson.ESP-Google-Sheet-Client/examples/Values/Update/Update.ino
Lines 158 to 159 in 1de85f1