MongoDB + Spring 範例 :
https://chikuwa-tech-study.blogspot.com/2021/05/spring-boot-mongorepository.html
練習用專案:
https://github.com/ntub46010/SpringBootTutorial/tree/Ch7
可以使用,但是class SecurityConfig要加上:
.antMatchers(HttpMethod.POST, "/products").permitAll()
沒有留言:
張貼留言