SHARE
TWEET

Untitled

a guest Aug 14th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. NORDIC+kslavi@PC7377 MINGW64 ~/Documents/bakside/spring-boot-jwt (master)
  2. $ curl -X POST 'http://localhost:8080/users/signin?username=admin&password=admin'
  3.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  4.                                  Dload  Upload   Total   Spent    Left  Speed
  5. 100   179  100   179    0     0    260      0 --:--:-- --:--:-- --:--:--   260eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImF1dGgiOlt7ImF1dGhvcml0eSI6IlJPTEVfQURNSU4ifV0sImlhdCI6MTU2NTc4MDA4OSwiZXhwIjoxNTY1NzgwMzg5fQ.SJVZbSo13BfdxSUl2iYOjToTofDKGJgGTuB_nU87qJ4
  6.  
  7. NORDIC+kslavi@PC7377 MINGW64 ~/Documents/bakside/spring-boot-jwt (master)
  8. $
  9.  
  10. NORDIC+kslavi@PC7377 MINGW64 ~/Documents/bakside/spring-boot-jwt (master)
  11. $
  12.  
  13. NORDIC+kslavi@PC7377 MINGW64 ~/Documents/bakside/spring-boot-jwt (master)
  14. $ curl -X GET http://localhost:8080/users/me -H 'Authorization: Bearer 260eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImF1dGgiOlt7ImF1dGhvcml0eSI6IlJPTEVfQURNSU4ifV0sImlhdCI6MTU2NTc4MDA4OSwiZXhwIjoxNTY1NzgwMzg5fQ.SJVZbSo13BfdxSUl2iYOjToTofDKGJgGTuB_nU87qJ4'
  15.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  16.                                  Dload  Upload   Total   Spent    Left  Speed
  17. 100   132    0   132    0     0   1885      0 --:--:-- --:--:-- --:--:--  1885{"timestamp":1565780201692,"status":500,"error":"Internal Server Error","message":"Expired or invalid JWT token","path":"/users/me"}
  18.  
  19. NORDIC+kslavi@PC7377 MINGW64 ~/Documents/bakside/spring-boot-jwt (master)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top