Hello,

I'm trying to use the Causeway-provided APIRest to make requests from a
frontend on a different domain. When I make the request, this is the error
I receive:

"Access to fetch at '
http://localhost:8080/restful/services/simple.LoginJugador/actions/LoginJugador/invoke'
from origin 'chrome://startpage' 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.
If an opaque response serves your needs, set the request's mode to
'no-cors' to fetch the resource with CORS disabled."

I've tried following the documentation by adding the necessary dependencies
and configuring the application.yml file, but I haven't been able to solve
this CORS issue. I would appreciate any guidance or advice on this matter.

Thank you for your help.

Best regards,

Reply via email to