1 Answer
- Newest
- Most votes
- Most comments
1
Hi,
with the given information, you should enabling CORS at application level.
This is a good list of ways to do that in Springboot: https://www.baeldung.com/spring-cors
Let me know
Relevant content
- asked a year ago
- asked 7 months ago
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Does your springboot app handle cors?
my spring boot code does not handle cors. I dont want to control cors at code level and want to control from external application/configuration. Please suggest.
Spring boot Code Link : https://github.com/andrewsselvaraj/springbootinmemory/blob/master/spring-boot-h2-database-example/src/main/java/com/efreelearn/controller/StudentController.java
Not sure you have a choice here, see answer below ;)