allowedMethods("*")를 추가한다.
registry.addMapping("/**")
.allowedMethods("*")
.allowedOrigins("http://localhost:3000");
Spring boot enable Global CORS support issue: only GET is working, POST, PUT and Delete are not working
Update: Now looking back more than a year later, I am giving an update hope that will help someone else. Spring IO recommend using CSRF protection for any request that could be processed by a bro...
stackoverflow.com