0

How to present this string as a GraphQL query

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

Help me please

1 Answer 1

2

You can follow "Forming Calls with GraphQL", which involves "Creating a personal access token for the command line" to get a token.

Your header should then be: Authorization: bearer xxx, with xxx being the token you have generated.

As a concrete example: "Get started with GitHub GraphQL API".

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.