Guest User

Untitled

a guest
Jan 18th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Request URL:
  2. POST https://example.com/oauth/token
  3. Request Headers:
  4. Content-Type: application/x-www-form-urlencoded
  5. Request POST Body:
  6. grant_type=password&username=joebloggs&
  7. password=password1234&client_id=myclient&client_secret=myclientsecret
  8. Response:
  9. {
  10. "access_token": "omitted for brevity",
  11. "token_type": "bearer",
  12. "expires_in": 1200,
  13. "refresh_token": "b3cc9c66b86340c5b743f2a7cec9d2f1"
  14. }
Add Comment
Please, Sign In to add comment