Java Spring REST API CORS not working for DELETE requests via jQuery with Chrome
I just added @CrossOrigin
to the method in controller and that fixed my problem
I got this error in spring boot application and I resolved it by adding or enabling cors features as below
cors: allowed-origins: "http://localhost:8082" allowed-methods: "" allowed-headers: "" exposed-headers: "Authorization,Link,X-Total-Count" allow-credentials: true max-age: 1800