learning-graphql
learning-graphql copied to clipboard
Update the Authorization method for the GitHub API
The way to send access_token
as a query parameter has
been deprecated and changed to using the Authorization
header.
See also: https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/
Notes:
- I haven't read chapter 7 yet, so I haven't been able to verify that the code in
chapter-07
works correctly.