Spring Boot API with role based login using jwt
-- User login and password are in data.sql
-- Do a post request to /login with "login" and "senha" in the body of the request to get the token
-- If the user has the ADMIN role, a get request to /users will return a JSON list of users. (The users on this list aren't the same of data.sql)
Obs: Make sure of include the token in the header of get request to /users