Created
June 27, 2016 17:16
-
-
Save HerrSpace/05c93833ad8bfb77c5983f2287e221fc to your computer and use it in GitHub Desktop.
Curl number26 transactions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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