How to enable CORS on squash for API REST on a different server
Publié : lun. nov. 05, 2018 11:54 am
Hi, i have issue to interface the squashTM API through a webpage located on the same server but running from an apache server.
It is considered as a CORS unauthorization. How can i enable the authorization?
Access to XMLHttpRequest at 'http://192.168.2.11:8080/squash/api/res ... e=2&page=1' from origin 'http://192.168.2.11' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
It is considered as a CORS unauthorization. How can i enable the authorization?
Access to XMLHttpRequest at 'http://192.168.2.11:8080/squash/api/res ... e=2&page=1' from origin 'http://192.168.2.11' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.