Hello everyone ,
I’m a newbie to this community and i’de like some help on this matter every time we try using the http method called xmlHttpRequest() to access ARI resources from outside the asterisk server the error bellow happens but when i send my request using the postman and curl it works perfectly .
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://x.x.x.x:8089/ari/applications/hello-world/subscription?eventSource=channel:,endpoint:,bridge:,deviceState:. (Reason: CORS preflight channel did not succeed).
Thanks in advance.