-
Notifications
You must be signed in to change notification settings - Fork 64.3k
Closed
Labels
contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content team
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
All rest articles containing code samples with header X-GitHub-Api-Version. For example:
- https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28
- https://docs.github.com/en/rest/repos/autolinks?apiVersion=2022-11-28
- https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28
What part(s) of the article would you like to see updated?
Line:
-H "Authorization: Bearer <YOUR-TOKEN>"\
Doesn't have a space between " and \. As a result, the cURL request does not work correctly.
To fix this, the line should be replaced by:
-H "Authorization: Bearer <YOUR-TOKEN>" \
Additional information
Metadata
Metadata
Assignees
Labels
contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content team
