Handle CORS issue in Spring Boot application

in order to stop browser from blocking API request.

  • Global configuration

Disable cors and csrf, along with setting allowedHeaders for CORSConfiguration

--

--

--

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Ball leave manage amount language.

Adding a Main Menu to our UI

HyperLook SimCity Demo Transcript

FarmCraft — An Agriculture SaaS PoC

Cool Python: Shared and individual data in Classes

Authoritative Vs non-Authoritative Terraform resources for GCP IAM policies

apt install dotnet-sdk-5.0 not working?

Speaking of Sandboxes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Donald Le

Donald Le

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.

More from Medium

Spring SonarQube Integration

Obfuscate Spring Boot Applications with Proguard Maven Plugin

Log4j to Logback migration? Good idea or not?

Experience with Spring batch and docker