Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 Youtube API。我使用 Youtube API 和 javascript 请求即时搜索 Youtube 以获取 JSON 格式。它是使用用户的 IP 还是我的主机的 IP 来获取该信息?谢谢你。
服务器端所做的一切都将使用您的服务器地址。客户端所做的一切都会有客户端地址。
如果您从用户的浏览器调用 JS,将使用用户的 IP 进行请求。