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 -

three.js - how to load gltf in three JS -

sql server - T-SQL: Access DB objects in same schema without qualifying? -