Network Error with cors_allow_origin="*"

Hello,
I’m trying to send a request to the external API from a Javascript frontend. The application server is configured to allow access from any origin:

cors_allow_origin="*"

As a result I get a network error and

Reason: missing token ‘access-control-allow-origin’ in CORS header ‘Access-Control-Allow-Headers’ from CORS preflight channel

Is the server able to process request from any origin? Do I have to change my request in some way to be cors compliant?

Thanks in advance