Created
August 14, 2018 09:56
-
-
Save AhmedHelalAhmed/46ea03aa993fa32a975a70f6d139ac29 to your computer and use it in GitHub Desktop.
requests-postman-laravel
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
| // to get token | |
| http://localhost:8000/oauth/token | |
| // in body tab | |
| key .......................... value | |
| grant_type .................... password | |
| client_id ..................... 2 | |
| client_secret ................. client_secret in database in table.....`oauth_clients` | |
| username ...................... <username> | |
| password ...................... <password> | |
| #============================================# | |
| // headers in normal request | |
| // in Headers tab | |
| key .......................... value | |
| Accept ........................ application/json | |
| Authorization ................. Bearer <token> | |
| #============================================# | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment