User Roles Spring Data Rest Spring security
问题 I have an error that I dont really understand. I didn't find any tutorial that explain why it doesn't work. I have this spring boot application using spring security. When I make this POST request : http://localhost:8181/roles body: { "name":"ROLE_USER" } it works fine. When I make this POST request : http://localhost:8181/users body: { "username":"user", "password":"pass", "roles":[ "http://localhost:8181/roles/1" ] } it works fine But when I make this GET request: http://localhost:8181