Advertisement
mnakos

How to make web.api calls

Sep 18th, 2015
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. 1. http://localhost:53862/Token with POST parameters like
  2. grant_type=password&username=mnakos&password=1234
  3.  
  4. 2. Get the token
  5.  
  6. 3. All next requests have:
  7. http://localhost:53862/api/values
  8. Headers
  9. -------
  10. Authorization => Bearer <Token_Value>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement