1

In google script I need get this script url. It has url like "https://script.google.com/macros/s/somecharshere/exec"

And I need get this url (and send in responce).

But I found no way to do this. All I can is get query params via e.parameter.*, but not full request url. Is there any way to do this?

Javier Brooklyn
  • 624
  • 3
  • 9
  • 25
msangel
  • 9,895
  • 3
  • 50
  • 69

1 Answers1

5

ScriptApp.getService().getUrl()

Corey G
  • 7,754
  • 1
  • 28
  • 28
  • Tnks, this help. In addition, I had to perform actions from this question: http://stackoverflow.com/questions/11421055/. Now its worked. – msangel Feb 05 '13 at 23:43