I am running Asterisk 12 with FreePBX and I am trying to setup the Asterisk Rest API but I am having a problem with the allowed_origins value. When I use the Swagger_UI and try to connect to the resources.json file I get this error…
“Can’t read from server. It may not have the appropriate access-control-origin settings.”
and the developer tool shows me the following console error…
“Origin 192.168.1.104 not found in Access-Control-Allow-Origin header”
I have tried setting the allowed_origins parameter = to the IP address shown and also = * in the ari_general_custom.conf file but that seems not to have any effect. Can anyone tell me what I am missing here?