We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c687768 commit 1ef7a5dCopy full SHA for 1ef7a5d
content/v3/auth.md
@@ -34,7 +34,7 @@ would authenticate you if you replace `<username>` with your GitHub username.
34
(cURL will prompt you to enter the password.)
35
36
<pre class='terminal'>
37
-curl -u <username> https://api.github.com/user
+$ curl -u <username> https://api.github.com/user
38
</pre>
39
40
### Via OAuth Tokens
@@ -46,7 +46,7 @@ you're accessing the API via cURL, replace `<token>` with your OAuth token in
46
the following command:
47
48
49
-curl -u <token>:x-oauth-basic https://api.github.com/user
+$ curl -u <token>:x-oauth-basic https://api.github.com/user
50
51
52
This approach is useful if your tools only support Basic Authentication but you
0 commit comments