【发布时间】:2019-12-15 08:31:49
【问题描述】:
如何将此字符串呈现为 GraphQL 查询
curl -H "Authorization: bearer token" https://api.github.com/graphql
请帮帮我
【问题讨论】:
标签: authentication github graphql github-api-v4
如何将此字符串呈现为 GraphQL 查询
curl -H "Authorization: bearer token" https://api.github.com/graphql
请帮帮我
【问题讨论】:
标签: authentication github graphql github-api-v4
您可以关注“Forming Calls with GraphQL”,其中涉及“Creating a personal access token for the command line”获取token。
然后您的标题应该是:Authorization: bearer xxx,xxx 是您生成的令牌。
作为一个具体的例子:“Get started with GitHub GraphQL API”。
【讨论】: