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 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.
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:
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