3

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.

Nakilon
  • 34,866
  • 14
  • 107
  • 142
user1541413
  • 307
  • 4
  • 17

1 Answers1

2

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.

Arun Nagarajan
  • 5,547
  • 1
  • 22
  • 19
  • 2
    Good suggestion, lets all do that. – user1541413 Mar 26 '13 at 18:00
  • 3
    Here is the issue URL:https://code.google.com/p/google-apps-script-issues/issues/detail?id=2569&thanks=2569&ts=1364320993 – user1541413 Mar 26 '13 at 18:03
  • 1
    *Apr 1, 2013 09:22AM - Status: Won't Fix (Infeasible) - Thank you for your request. Unfortunately, we do not have any plans to support this feature at this time. We may reconsider it in the future if there is sufficient demand.* **Let's keep asking...** – Redoman Feb 16 '18 at 13:08