Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created November 20, 2022 18:41
Show Gist options
  • Select an option

  • Save KyMidd/77967dcc6b1a14c0710ca4124315d3e5 to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/77967dcc6b1a14c0710ca4124315d3e5 to your computer and use it in GitHub Desktop.
curl -s -X PATCH \
-H "Accept: application/vnd.github+json" \ #<-- GitHub's REST API requires this for some requests
-H "Authorization: Bearer $GITHUB_TOKEN" \ #<-- Auth to GitHub
(etc.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment