Skip to content

Instantly share code, notes, and snippets.

@AhmedHelalAhmed
Created August 14, 2018 09:56
Show Gist options
  • Select an option

  • Save AhmedHelalAhmed/46ea03aa993fa32a975a70f6d139ac29 to your computer and use it in GitHub Desktop.

Select an option

Save AhmedHelalAhmed/46ea03aa993fa32a975a70f6d139ac29 to your computer and use it in GitHub Desktop.
requests-postman-laravel
// 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