Google Apps Script Web App authenticate on external website

后端 未结 1 1672
刺人心
刺人心 2021-01-16 02:42

I need to implement a Google Apps Script app that is used to login on a website and then if the authentication process succeed on that website the user should receive a mess

相关标签:
1条回答
  • 2021-01-16 03:15

    Fixed this by adding headers option:

      var headers = {
        'Connection':'keep-alive',
        'Content-Type':'application/json;charset=utf-8',
        'Accept':'application/json, text/plain, */*',
        'Cookie':'...',
      }
    
    0 讨论(0)
提交回复
热议问题