如何为github的graphql端点传递clientId和secret?
在文档中,他们已将其显示为其余端点,但不确定新api(v4)如何与server to server
调用一起使用。
https://developer.github.com/v3/#oauth2-keysecret
curl 'https://api.github.com/graphql?client_id=xxxx&client_secret=yyyy'
{
"message": "This endpoint requires you to be authenticated.",
"documentation_url": "https://developer.github.com/v3/#authentication"
}