Created
July 22, 2016 07:26
-
-
Save gphilipp/a8d8e48190e8eaf593ecc40b634753f9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| http://coop.apps.knpuniversity.com/token | |
| ?client_id=Your+Client+Name | |
| &client_secret=abcdefg | |
| &grant_type=client_credentials | |
| $request = $http->post('/token', null, array( | |
| 'client_id' => 'Brent\'s Lazy CRON Job', | |
| 'client_secret' => 'a2e7f02def711095f83f2fb04ecbc0d3', | |
| 'grant_type' => 'client_credentials', | |
| )); | |
| { | |
| "access_token": "fa3b4e29d8df9900816547b8e53f87034893d84c", | |
| "expires_in": 86400, | |
| "token_type": "Bearer", | |
| "scope": "chickens-feed" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment