Skip to content

Commit a05008b

Browse files
Merge pull request circleci#5459 from snaka/patch-1
Add Circle-Token header to wget command example
2 parents 8b407ae + 0929f38 commit a05008b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jekyll/_cci2/api-developers-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ The following section details the steps you need to follow to download artifacts
479479
--header 'Accept: application/json' \
480480
--header "Circle-Token: $CIRCLECI_TOKEN" \
481481
| grep -o 'https://[^"]*' \
482-
| wget -v -i -
482+
| wget --header="Circle-Token: $CIRCLECI_TOKEN" -v -i -
483483
```
484484

485485
**Note:** `grep` is used to locate all the URLs for downloading the job artifacts, while `wget` is used to perform the download.

0 commit comments

Comments
 (0)