【问题标题】:Github API endpoint not working as expectedGithub API 端点未按预期工作
【发布时间】:2016-01-29 18:53:17
【问题描述】:

我们正在构建一个节点应用程序,我们从 Github API 端点 api.github.com/user/issues 获取特定经过身份验证的用户的问题。

这不起作用,当我们在 postman (https://www.getpostman.com/) 中测试 Github API 端点时,我们会收到相同的消息:

{
"message": "Not Found",
"documentation_url": "https://developer.github.com/v3"
}

如果有人有使用此端点的经验,我们将非常感谢您的帮助。

【问题讨论】:

    标签: javascript node.js github github-api


    【解决方案1】:

    您的身份验证令牌似乎有问题。在 Postman 中向 Github API 发送请求时尝试使用基本身份验证。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-23
      • 1970-01-01
      • 2021-06-30
      • 2023-03-21
      • 2017-10-24
      • 2016-03-16
      相关资源
      最近更新 更多