Application binding with Google Apps Script


  • Hello all,
    I would like to use Google Apps Script (GAS) as a backend for the callback url. My first attempt to bind to this application failed. I do receive the requests but the payload is missing. The problem seems that GAS does not supprt gzip and/or deflate (https://issuetracker.google.com/issues/36757236).

    If that’s correct, I think that would mean I cannot use Google Apps Script.

    Has anybody else managed to get this to work or any tips how I could work around the problem?

    Thanks for any feedback.



  • @marijn Problem is solved, my bad. The payload is available in e.postData.contents.



  • Hi Marijn,

    Great that you solved your problem yourself!

    However you made me curious, I have never seen an integration with an google apps script before!

    Would you be willing to share an skeleton example of an script and point us towards how you did the set-up?

    Thanks, Eric


 

Looks like your connection to Internet of Things was lost, please wait while we try to reconnect.