Google Apps Script - Get IP of doPost and track in

2019-02-26 09:04发布

is there an easy way to capture the IP of a doPost(e) request and store it with the incoming values of the POST as to track the origin of the request?

It does not seem to be available via e.parameter.

I cannot find a complete list of the other properties or methods of e.

1条回答
\"骚年 ilove
2楼-- · 2019-02-26 09:55

There is no way today to get the IP Address or the User Agent of the incoming request in doGet or doPost. Please log an enhancement request in our Issue Tracker along with details of your use case.

查看更多
登录 后发表回答