We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aefbcd0 commit 2faa052Copy full SHA for 2faa052
1 file changed
v3/auth/index.html
@@ -67,8 +67,8 @@ <h3 id="via-username-and-password">Via Username and Password</h3>
67
(cURL will prompt you to enter the password.)</p>
68
69
<pre class="terminal">
70
-curl -u <username> https://api.github.com/user
71
-
+$ curl -u <username> https://api.github.com/user
+</pre>
72
73
### Via OAuth Tokens
74
@@ -79,8 +79,8 @@ <h3 id="via-username-and-password">Via Username and Password</h3>
79
the following command:
80
81
82
-curl -u <token>:x-oauth-basic https://api.github.com/user
83
+$ curl -u <token>:x-oauth-basic https://api.github.com/user
84
85
This approach is useful if your tools only support Basic Authentication but you
86
want to take advantage of OAuth access token security features.
0 commit comments