I have a script project called displayhtmlfromquerystring,
the script file is
function doGet(e){
var html;
if(e.parameter.html)
html=e.parameter.html;
else
html="Error no html";
return HtmlService.createHtmlOutput(html+"<hr/>");
}
I have deployed it as web apps, google gave me two links, one ends with "dev" and one ends with "exec".
When run script with dev link, it is alright but when run with exec link the page displayed the only word "undefined", I got stuck, could any one tell me why?
Link of my script app "https://script.google.com/macros/s/AKfycbyinAHBmjVgKDinY-bCcwQ4bgy87KuibiflG1158qRkBJSSXeMk/exec"