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.
我正在开发一个 google chrome 扩展程序,它在通过 oAuth 授权后从服务器检索 JSON。json 包含我想在桌面通知上显示的图像的 URL。但我还需要将 oAuth 访问令牌与此请求一起传递。我该怎么做?
您是否使用 Google 服务从中获取 JSON 和图像?
如果是这样,您可以尝试将 oAuth 令牌作为图像 url 中的以下 get 参数附加。
access_token
例如。
<image url>?access_token=<oauth2 access token>