Determining the IP address of the node that executes the UrlFetchApp call

北慕城南 提交于 2019-12-10 20:41:39

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!