I am trying to create a front end that would allow users to create jabber guest links using the jabber guest API, and I have run into some problems when it comes to sending data via a HTTP request to the server which hosts the guest API.
XMLHttpRequest cannot load https://[IP address of the server that is hosting the guest API]/cjg-api/rest/links/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://[Server hosting my application]' is therefore not allowed access. The response had HTTP status code 401.
I then attempted to send the request from the same server, to the same separate server hosting the API using C#.NET and got this error message:
Has anyone ever encountered these errors before or does anyone know how to solve them?
I'm pretty sure it's a server problem, but if you would like to see my code I can put it up for you.
bare in mind that I have limited knowledge of server configurations, and I also do not have access to change the configurations of the server hosting the guest API
So I don't know how I would go about adding the Access-Control-Allow-Origin header or validating the remote certificate.
Thank-you for taking the time to read through my problem.
jabberGuest doesn’t allow Access-Control-Allow-Origin for link post/put/get operations. So invoke the api embed in a web page from your own serverwill get the No ‘Access-Control-Allow-Origin’….. You can invoke the api by the server side, which means that you can send the request to your own server and invoke the api proxy to server. I have just test in this way and the server can work fine. You know these apis require authorization , so you should have the username and password of the jabber guest web admin page. You can download some Demo from the flowing links:
I'm not able to access my old voice mail messages all of a sudden. The recording says something like 'the message is currently not available'. This has never happened before in all the years I have been using this system. I have t...
If you have 2 ISR routers, one acting as Failover, do we need to have both the same number of SRST licenses on the 2 routers?
No. You will only need the SRST licenses on the primary router. Because this feature...