REST API Cross Origin Request Blocked

I am planning to replace a part of my Domoticz with Home Assistant. For that reason I need to convert my javascript dashboard interface to Home Assistant via the the REST API interface.

I checked all cors related topics in the forum. Unfortunately whatever I try the Cors error remains.

I did update the configuration.yaml file.In various suggested formats.
image

I also created different test functions. One of them here (Token to be replaced with the long lived token)
image

Apparently I overlook something (simple?) that solves the problem. Help is appreciated.

To add to the above: if I use the interface via curl it works fine and I get correct responses:

You likely have to allow requests from your “javascript dashboard”

I already created the http entry as can bee seen in the original post. Unless you specify exactly what is missing the reply does not lead to resolution. Be aware that my curl request does function. But that is indeed not cross origin.

Sorry to have bothered you.
You obviously know that the yaml syntax for a list is "- " (dash-blank) and that there is no such thing as allowed origins with globbing.

Good luck.

Thank you and sorry! I started off with "- " and after dozens of attempts removed the blank. Should have entered it again. Sorry. Nevertheless that does not resolve it. Is globbing simular to the use of wildcards? I have seen various examples in earlier threats using wild cards though. I tried fixed IP’s as well. And a subnet definition:
image

In the past days I have tried many, many settings and combinations. The CORS problem remains: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://10.0.50.13:8123/api/states. (Reason: CORS request did not succeed). Status code: (null).

Any hint to to get me in the right direction is welcome and very much appriciated

Did you every fix this? I’m having a similar issue