Unfortunately I can’t share the code for production but this link I can: https://script.google.com/macros/s/AKfycbzdHHKBmLWJYZtFGlJGOrUwlPIWXor1geEOgcSgvhs/dev?test=test which returns {“test”:“test”}
This is a link to a google apps script deployed as a web app that I want to get data from… when I set up my code like this:
this.http.get("https://script.google.com/macros/s/AKfycbzdHHKBmLWJYZtFGlJGOrUwlPIWXor1geEOgcSgvhs/dev?test=test", options) .map(res => res.json()) .subscribe(data => { this.months = data[0].sheets; console.log("This one fired!!!"); }, error => { console.log(JSON.stringify(error)); });
I get this error:
{"_body":{"isTrusted":true},"status":0,"ok":false,"statusText":"","headers":{},"type":3,"url":null}
NOTE: I’m using an emulator for android…
please help… thanks…