API CORS "Same Origin" error

Hello,

I have installed Zammad using the package with Apache2 on a server and I want to use the API via a site that has a different domain name.

I have a CORS error that I can’t fix : “Cross-Origin Request blocked: “Same Origin” policy doesn’t allow access to the remote resource”

How can I allow CORS requests in Zammad?

Sorry but how does CORS affect API calls?
Please consider having a look at the API documentation and use the approaches listed there:
https://docs.zammad.org/en/latest/api/intro.html