Skip to content

Instantly share code, notes, and snippets.

@Justinzobel
Last active April 9, 2022 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Justinzobel/00c33ba2e839ab8d672c2619091f45d9 to your computer and use it in GitHub Desktop.
Save Justinzobel/00c33ba2e839ab8d672c2619091f45d9 to your computer and use it in GitHub Desktop.
fedora pagure api curl example
token=123456789etc
curl -X POST "https://pagure.io/api/0/-/whoami" \
     -H "Authorization: token $TOKEN" \
     -H "Content-Type: application/x-www-form-urlencoded"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment