Query a Google Sheet using POST method -


i use urlfetchapp execute query of sheet in google app script. works fine if query string not long. url size limit of urlfetchapp 2k. know if possible use post method execute query?

i tried below. not work.

url = 'https://docs.google.com/spreadsheets/d/sheetkey/gviz/tq' var payload = {   gid = sheetid,   tq = myquerystring, }; var options = {  method:'post',  payload:payload }; urlfetchapp.fetch(url, options); 


Comments

Popular posts from this blog

php - Embed BBCode within itself not working -

linux - Why does bash short curcuit fail in crontab? -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -