Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit d49ee65

Browse files
authored
Merge pull request #93 from CircleCI-Public/stig-patch-1
Add `:` after token in curl command; fixes #92
2 parents a3c9e14 + 0f3dea3 commit d49ee65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ PREVIEWS ARE PROVIDED "AS-IS," "WITH ALL FAULTS," AND "AS AVAILABLE," AND ARE EX
1919

2020
The CircleCI v2 API behaves very similarly to our v1.1 API. For instance, to get back basic information about the user associated with an API token in v2 you could run (assuming you have set CIRCLECI_TOKEN in your environment):
2121

22-
`curl -u ${CIRCLECI_TOKEN} https://circleci.com/api/v2/me`
22+
`curl -u ${CIRCLECI_TOKEN}: https://circleci.com/api/v2/me`
2323

2424

2525
## GETTING STARTED WITH CIRCLECI API v2

0 commit comments

Comments
 (0)