Skip to content

Commit f58b66c

Browse files
committed
Merge pull request github#288 from github/jdennes-auth-token-consistency
Better OAuth2 token consistency.
2 parents f31e0fc + aaee14b commit f58b66c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/v3/oauth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ authorize form.
132132
Check headers to see what OAuth scopes you have, and what the API action
133133
accepts.
134134

135-
$ curl -H "Authorization: bearer TOKEN" https://api.github.com/users/technoweenie -I
135+
$ curl -H "Authorization: token OAUTH-TOKEN" https://api.github.com/users/technoweenie -I
136136
HTTP/1.1 200 OK
137137
X-OAuth-Scopes: repo, user
138138
X-Accepted-OAuth-Scopes: user

0 commit comments

Comments
 (0)