Hi,
I’m having a microprocessor sending data to a worksheet and the code is working fine. The data sent is logged in each cell correctly. If I launch via browser the link “ https://script.google.com/macros/s/<my_code>/exec?temperature=10&humidity=20 ”, my spreadsheet’s script code answers with the word “Ok”. Inspecting the results, I see the following, which is all correct: <html> <head> <link rel="alternate stylesheet" type="text/css" href= "resource://content-accessible/plaintext.css" title="Wrap Long Lines"> <style></style> </head> <body> <pre>Ok</pre> </body> </html> However, when I read the web response via the microcontroller (String line = client.readStringUntil('\r');), I get different results: <HTML> <HEAD> <TITLE>Moved Temporarily</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1>Moved Temporarily</H1> The document has moved <A HREF="https://script.googleusercontent.com/macros/echo?user_content_key=bla bla bla">here</A>. </BODY> </HTML> Can someone please tell me why I cannot read the response remotely? I’m new to this and I’m a bit lost. TIA -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/34128ae9-2f0c-423f-9395-241e13789961%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
