问题
For a Web API call via UrlFetchApp in a Google Apps Script I have to submit the HTTP client IP (via HTTP-GET) for authentification (namecheap.com API).
Is there a way to determine the IP address of the node that will execute the UrlFetchApp call for adding it to the query URL?
回答1:
No, it is not possible. However, Google does provide you with a range of IP addresses through which the call will be made. See https://developers.google.com/apps-script/jdbc#accessing
来源:https://stackoverflow.com/questions/11708477/determining-the-ip-address-of-the-node-that-executes-the-urlfetchapp-call