V
V
Victor L2015-09-29 11:07:55
JSON
Victor L, 2015-09-29 11:07:55

App Script how to accept json data?

Good afternoon, tell me how to correctly accept GET requests in Google App Script
The task is to deploy App Script as a web application and accept Json data

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor L, 2018-07-19
@Fzero0

function doGet(e) {
  
  if(typeof e !== 'undefined')
    return ContentService.createTextOutput(JSON.stringify(e.parameter));
  
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question