Skip to content
Advertisement

Tag: same-origin-policy

WebTestClient – CORS with Spring Boot and Webflux

I have Vuejs frontend and a Spring Boot Webflux controller. Now the browser is complaining with CORS when doing a call to Spring Boot. Access to XMLHttpRequest at ‘https://…’ from origin ‘https://…’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. To enable CORS I

Advertisement