Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl http://localhost:4000/api/login?email=bob@example&password=1234
- HTTP/1.1 200 OK
- authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXyLp0aSI6ImefP2GOWEFYWM47ig2W6nrhw
- x-expires: 1499255103
- content-type: text/plain; charset=utf-8
- success
- authUser =
- Http.send "http://localhost:4000/api/login?email=bob@example&password=1234"
- Jwt.get token "/api/data" dataDecoder
- |> Jwt.send DataResult
Add Comment
Please, Sign In to add comment