Skip to content

Commit 1ef7a5d

Browse files
committed
Add $ to curl examples in auth
1 parent c687768 commit 1ef7a5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/v3/auth.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ would authenticate you if you replace `<username>` with your GitHub username.
3434
(cURL will prompt you to enter the password.)
3535

3636
<pre class='terminal'>
37-
curl -u &lt;username&gt; https://api.github.com/user
37+
$ curl -u &lt;username&gt; https://api.github.com/user
3838
</pre>
3939

4040
### Via OAuth Tokens
@@ -46,7 +46,7 @@ you're accessing the API via cURL, replace `<token>` with your OAuth token in
4646
the following command:
4747

4848
<pre class='terminal'>
49-
curl -u &lt;token&gt;:x-oauth-basic https://api.github.com/user
49+
$ curl -u &lt;token&gt;:x-oauth-basic https://api.github.com/user
5050
</pre>
5151

5252
This approach is useful if your tools only support Basic Authentication but you

0 commit comments

Comments
 (0)