Help With Web Request - POST Time and Temperature to Google Sheets
Preface: For my first web request, I wish to post the time and temperature to the end of a Google Sheet each time a motion sensor is tripped.
Code.gs: I’ve based my Post/Get code off of this great blog on the subject
Google Sheets as a Database – INSERT with Apps Script using POST/GET methods
I am ‘confident’ my Google side is online and working and a test of the sheet did show from the Google side success. I am using JSON, the Sheet name is filled in correctly, and I’m using the proper key in all the right spots.
I guess my question is, am I missing any part of this method to get this to work?
As for my Piston:
UPDATE 1:
I’ve revised my .gs code and I’m am receiving ‘something’ into the sheet now. However, the data I’m receiving is ‘undefined’.
Question: Is there a way to print the web request going to google to see what the data is?