Skip to content

Instantly share code, notes, and snippets.

@epidemicz
Created August 16, 2023 01:31
Show Gist options
  • Save epidemicz/08e44f05496f60e267dbfe684f67cf2d to your computer and use it in GitHub Desktop.
Save epidemicz/08e44f05496f60e267dbfe684f67cf2d to your computer and use it in GitHub Desktop.
Powershell friendly curl git release api request
curl -L `
-H "Accept: application/vnd.github+json" `
-H "Authorization: Bearer <YOUR-TOKEN>" `
-H "X-GitHub-Api-Version: 2022-11-28" `
https://api.github.com/repos/OWNER/REPO/releases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment