When I run the Arduino, because I have the GET line with a 1 (True) it does a serial print with the return… which gets me this:
......
WiFi connected
IP address:
192.168.0.18
Connecting to script.google.com
the URL is:
/macros/s/<GSCRIPTID>/exec?setpoint=5555&temp=6666&relayStatus=testingString
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=300, initial-scale=1" name="viewport">
<meta name="google-site-verification" content="XXXXXXXXX"
<title>Sign in - Google Accounts</title>
<style>
@font-face {
font-family: 'Open Sans';
font-style: normal;
And about 20 pages worth of what I believe is JSON response.
that finishes with this:
</script>
<script nonce="aWc3RJ2qSud2akV8wQBFkg">
if (gaia.ps.hasPrefilledIdentifier) {
var form = document.getElementById('gaia_loginform');
if (form) {
form.submit();
}
}
</script>
<script nonce="<StringOfChars>">
(function(){
gaia_onLoginSubmit = function() {
try {
gaia.loginAutoRedirect.stop();
} catch (err) {
// do not prevent form from being submitted
}
try {
document.bg.invoke(function(response) {
document.getElementById('bgresponse').value = response;
});
} catch (err) {
document.getElementById('bgresponse').value = '';
}
return true;
}
document.getElementById('gaia_loginform').onsubmit = gaia_onLoginSubmit;
var signinButton;
signinButton = document.getElementById('next');
gaia_attachEvent(window, 'load', function(){
gaia_scrollToElement(signinButton);
});
})();
</script>
<script nonce="<StringOfChars>">var e=this,g=function(a,c){a=a.split(".");var b=e;a[0]in b||!b.execScript||b.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===c?b[d]?b=b[d]:b=b[d]={}:b[d]=c};var h=function(){try{return new XMLHttpRequest}catch(b){for(var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<a.length;c++)try{return new ActiveXObject(a[c])}catch(d){}}return null};g("gaia.ajax.newXmlHttpRequest",h);var k=function(){this.a=h();this.parameters={}};g("gaia.ajax.XmlHttpFormRequest",k);
k.prototype.send=function(a,c){var b=[],d;for(d in this.parameters)b.push(d+"="+encodeURIComponent(this.parameters[d]));b=b.join("&");var f=this.a;f.open("POST",a,!0);f.setRequestHeader("Content-type","application/x-www-form-urlencoded");f.onreadystatechange=function(){4==f.readyState&&c({status:f.status,text:f.responseText})};f.send(b)};k.prototype.send=k.prototype.send;
k.prototype.h=function(a,c,b){var d=this.a;d.open("POST",a,!0);d.setRequestHeader("Content-type","application/json");d.onreadystatechange=function(){4==d.readyState&&b({status:d.status,text:d.responseText})};d.send(c)};k.prototype.sendJson=k.prototype.h;k.prototype.get=function(a,c){var b=this.a;b.open("GET",a,!0);b.onreadystatechange=function(){4==b.readyState&&c({status:b.status,text:b.responseText})};b.send()};k.prototype.get=k.prototype.get;var l=/\s*;\s*/,m=function(){if(!document.cookie)return"";for(var a=document.cookie.split(l),c=0;c<a.length;c++){var b=a[c];b=b.replace(/^\s+/,"");b=b.replace(/\s+$/,"");if(0==b.indexOf("APISID="))return b.substr(7)}return""};var n=null,p=function(a,c){this.g=a;this.f=c;this.c=m();this.b=!1},q=function(){var a=n,c=m();c==a.c||a.b||(a.c=c,(new k).get(a.f,function(b){var a=n;b&&b.status&&200==b.status&&"OK"==b.text&&(a.a&&clearInterval(a.a),a.b||(window.location=a.g))}))};p.prototype.start=function(a){if(this.a)return!1;this.a=setInterval(function(){q()},a);return!0};g("gaia.loginAutoRedirect.start",function(a,c,b){if(n||!b||!c||0>=a)return!1;n=new p(c,b);return n.start(a)});
g("gaia.loginAutoRedirect.stop",function(){var a=n;a.b=!0;a.a&&(clearInterval(a.a),a.a=null)});
</script>
<script type="text/javascript" nonce="aWc3RJ2qSud2akV8wQBFkg">
gaia.loginAutoRedirect.start(5000,
'https:\x2F\x2Faccounts.google.com\x2FServiceLogin?continue=https%3A%2F%2Fscript.google.com%2Fmacros%2Fs%2FAKfycbzzYDI73AJY5KytE_CY3sF7_fyIZH0lz_jmms98cjUmexcOGW_4%2Fexec%3Fsetpoint%3D5555%26temp%3D6666%26relayStatus%3DtestingString\x26followup=https%3A%2F%2Fscript.google.com%2Fmacros%2Fs%2FAKfycbzzYDI73AJY5KytE_CY3sF7_fyIZH0lz_jmms98cjUmexcOGW_4%2Fexec%3Fsetpoint%3D5555%26temp%3D6666%26relayStatus%3DtestingString\x26passive=1209600\x26noautologin=true',
'https:\x2F\x2Faccounts.google.com\x2FPassiveLoginProber?continue=https%3A%2F%2Fscript.google.com%2Fmacros%2Fs%2FAKfycbzzYDI73AJY5KytE_CY3sF7_fyIZH0lz_jmms98cjUmexcOGW_4%2Fexec%3Fsetpoint%3D5555%26temp%3D6666%26relayStatus%3DtestingString\x26followup=https%3A%2F%2Fscript.google.com%2Fmacros%2Fs%2FAKfycbzzYDI73AJY5KytE_CY3sF7_fyIZH0lz_jmms98cjUmexcOGW_4%2Fexec%3Fsetpoint%3D5555%26temp%3D6666%26relayStatus%3DtestingString\x26passive=1209600');
</script>
</body>
</html>
0