【问题标题】:How compose GraphQL query for github如何为 github 编写 GraphQL 查询
【发布时间】:2019-12-15 08:31:49
【问题描述】:

如何将此字符串呈现为 GraphQL 查询

curl -H "Authorization: bearer token" https://api.github.com/graphql

请帮帮我

【问题讨论】:

    标签: authentication github graphql github-api-v4


    【解决方案1】:

    您可以关注“Forming Calls with GraphQL”,其中涉及“Creating a personal access token for the command line”获取token。

    然后您的标题应该是:Authorization: bearer xxxxxx 是您生成的令牌。

    作为一个具体的例子:“Get started with GitHub GraphQL API”。

    【讨论】:

      猜你喜欢
      • 2017-12-23
      • 2017-01-31
      • 2018-05-31
      • 2019-04-06
      • 2017-02-01
      • 2019-06-23
      • 2017-12-27
      • 2019-06-12
      • 2020-08-01
      相关资源
      最近更新 更多