📜  通过 curl 命令请求 graphql - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:51.485000             🧑  作者: Mango

代码示例1
curl -i -H "Authorization: bearer myGithubAccessToken" -X POST -d '{"query": "query {repository(owner: "wso2", name: "product-is") {description}}"}' https://api.github.com/graphql