using springboot to integrate security access to api interfaces appears
{
"timestamp" : "2019-01-03T03:47:55.465+0000" ,
"status" : 403,
"error" : "Forbidden" ,
"message" : "Forbidden" ,
"path" : "/api/v1/system/role"
}
using springboot to integrate security access to api interfaces appears
{
"timestamp" : "2019-01-03T03:47:55.465+0000" ,
"status" : 403,
"error" : "Forbidden" ,
"message" : "Forbidden" ,
"path" : "/api/v1/system/role"
}
this is because you enable CSRF protection and turn it off. In the configure (HttpSecurity http)
method, append http.csrf (). Disable (); turn off CSRF protection.
insufficient permissions is also this error
Previous: How can an array after array_combine and data from a string be returned in a method in PHP?