Skip to content

Instantly share code, notes, and snippets.

@RonjaPonja
Created June 27, 2016 17:16
Show Gist options
  • Select an option

  • Save RonjaPonja/05c93833ad8bfb77c5983f2287e221fc to your computer and use it in GitHub Desktop.

Select an option

Save RonjaPonja/05c93833ad8bfb77c5983f2287e221fc to your computer and use it in GitHub Desktop.
Curl number26 transactions.
curl 'https://api.tech26.de/oauth/token' -H 'Authorization: Basic bXktdHJ1c3RlZC13ZHBDbGllbnQ6c2VjcmV0' --data-urlencode 'username=' --data-urlencode 'password=' --data 'grant_type=password' | jq -r '.["access_token"]' | (read token; curl 'https://api.tech26.de/api/smrt/transactions?limit=50' -H "Authorization: bearer $token") | jq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment