简体   繁体   English

没有 HTTPS 的 Google 通讯录 API

[英]Google Contacts API without HTTPS

I would like to import my Google contacts to my web application which is build in JavaScript.我想将我的 Google 联系人导入到我用 JavaScript 构建的 Web 应用程序中。 I used the Google Contacts API version 3.0 to do this, but it requires HTTPS permissions.我使用Google Contacts API 3.0 版来执行此操作,但它需要 HTTPS 权限。 Is there a way to import my Google contacts in a developing environment with HTTPS?有没有办法在使用 HTTPS 的开发环境中导入我的 Google 联系人?

All requests to the Contacts API must be sent with https:// .对 Contacts API 的所有请求都必须使用https://发送。

Sending a GET request to the Contacts API over HTTP will result in a redirect and a POST/PUT/DELETE will result in a 401/403.通过 HTTP 向 Contacts API 发送 GET 请求将导致重定向,POST/PUT/DELETE 将导致 401/403。 There is no way around this.没有办法解决这个问题。

(Your title says " without HTTPS" and your question says "with HTTPS". I am assuming the former.) (你的标题是“没有HTTPS”,你的问题是“有 HTTPS”。我假设是前者。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM