Skip to content

Instantly share code, notes, and snippets.

@buzzdecafe
Last active December 15, 2022 15:26
Show Gist options
  • Save buzzdecafe/a6bafa81e138cc8f29616ce8abf0467b to your computer and use it in GitHub Desktop.
Save buzzdecafe/a6bafa81e138cc8f29616ce8abf0467b to your computer and use it in GitHub Desktop.
cURL recurly API
# recurly does not document using cURL to access their API, they really want you to use their libraries.
# Sometimes i need to test something quick. I do not want to write a script importing your stupid library.
# So here's how you do it:
APIKEY=<get your API key from your recurly.com site>
curl -H "Accept: application/vnd.recurly.v2021-02-25+json" -u $APIKEY: https://v3.recurly.com/accounts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment