msangel
msangel

Reputation: 10362

google app script get script request URL

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?

Upvotes: 1

Views: 2682

Answers (1)

Corey G
Corey G

Reputation: 7858

ScriptApp.getService().getUrl()

Upvotes: 5

Related Questions