Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
1 of 2
Greeshma

i also had this same issue.I resolved it by removing 'no-cors' from javascript and adding the following in server side spring boot. public class WebSecurityConfig extends WebSecurityConfigurerAdapter { protected void configure(HttpSecurity httpSecurity) throws Exception {

        .antMatchers(HttpMethod.OPTIONS, "/**").permitAll()

}

}

Greeshma