Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docs): refer to
Authorization
header in the README, not `Authen…
…tication` (#418) Update README.md The correct name of the header is 'Authorization' and not 'Authentication'. Tested with: ``` curl -H "Authorization: bearer {edited}" -X POST -d " \ { \ \"query\": \"query { viewer { login }}\" \ } \ " https://api.github.com/graphql ``` Previously: ``` $ curl -H "Authentication: bearer {edited}" -X POST -d " \ { \ \"query\": \"query { viewer { login }}\" \ } \ " https://api.github.com/graphql { "message": "This endpoint requires you to be authenticated.", "documentation_url": "https://docs.github.com/graphql/guides/forming-calls-with-graphql#authenticating-with-graphql" } ```
- Loading branch information