learning-graphql icon indicating copy to clipboard operation
learning-graphql copied to clipboard

Update the Authorization method for the GitHub API

Open snaka opened this issue 3 years ago • 0 comments

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.

snaka avatar Sep 26 '21 04:09 snaka