【发布时间】:2020-01-05 02:18:26
【问题描述】:
我在 Windows 64 位机器上遵循 https://developers.google.com/docs/api/quickstart/js 的文档以使用 google docs api。按照说明,我已经下载并安装了 python 3.8(来自https://www.python.org/downloads/)并设置了 index.html 文件,并替换了客户端 ID 和 API 密钥占位符。在 Visual Studio 代码终端中运行命令 python -m http.server 8000 并在浏览器中打开 http://localhost:8000 后,它说无法访问该站点并且 localhost 拒绝连接。有人会碰巧知道问题是什么吗?谢谢。
【问题讨论】:
标签: google-api localhost google-docs google-docs-api google-developers-console