Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl --header "Content-Type: application/json" \
- --request POST \
- --data '{"name":"user", "email":"mail@gmail.com","password":"pass"}' \
- http://localhost:8080/auth/signup
- curl --header "Content-Type: application/json" \
- --request POST \
- --data '{"email":"mail@gmail.com","password":"pass"}' \
- http://localhost:8080/auth/login
- curl --header "Authorization: Bearer <TOKEN_HERE>" \
- http://localhost:8080/user/me
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement