Google Apps Script make HTTP POST

后端 未结 4 1513
北荒
北荒 2021-01-02 06:56

I would like to make an HTTP POST using google apps script. I have found very little documentation on this, maybe someone could kindly help?

The HTTP POST will be to

4条回答
  •  生来不讨喜
    2021-01-02 07:13

    I had difficulties using Google App Script HtmlService in the beginning as well. Check for the fully functional basic example that I made on how to use Htmlservice. In this example you can post a form, display the posted information on a second page, and navigate between pages.

    https://script.google.com/macros/s/AKfycby-tsWP8GiVj9KxdZa2KtIcEIh9zfaCaG_iCtayydhg-6G-rsc/exec

    if you want to see the code just access the link bellow. Make a copy to yourself and don't forget to change the link to your script on line 50 (Codigo.gs)

    https://script.google.com/macros/d/MWH5NC4RbgzryH_Ut-1zVe3Ow4ZzbpCe7/edit

提交回复
热议问题