XMLHttpRequest cannot load https://<host>/vmrest/messages/0:53df9a65-aa17-4370-8d33-d2b74cd4a5d5/attachments/0. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.
Can you please help me how i can solve this issue? Is this a feature for security reasons or is a server configuration setting?
You didn't show an example of a working request, but having messed with CORS a bit recently, I think some (most/all?) browsers will not allow a secure request from a non-secure page, and vice versa. I.e. in your request the host origin is insecure (http://localhost) and the scripted request is secure (https://<server>/vmrest)
If that's not the issue, then perhaps it is possible there is some defect in /vmrest that fails to handle same-origin just for message retrieval. Is it possible that requesting this message content URL actually results in a redirect to another URL or host (Mediasense?)
Thanks for the reply. I've tried on environment with https and the result is the same. All other CORS requests are passing (for example /vmrest/mailbox/folders/inbox/messages?type=voice returns all voice messages which i have) instead downloading of the attachment.
Demo - Webex Video device Virtual Lamp integration
Show how easy it is to create a virtual lamp and integrate it with a Webex Video device or bot. Create your own lamp using the virtual lamp bot make it create a ...
Team,As I'm using a lot of virtual environments with PIPENV, it became harder to keep track of the environments that I have setup. And that was the reason to create this script which:
List all of your (pipenv) virtual environments
(view in My Videos)It is our pleasure to announce the finalists of the 2021 IT Blog Awards hosted by Cisco. These bloggers, vloggers and podcasters create amazing educational content worthy of recognition.
But who will we crown as our winners? I...
This is the sign you have been waiting for. It's the year YOU apply to become a Cisco Champion. As a Cisco Champion, you’ll:
Get early insights into new Cisco products and solutions
Receive access to Cisco’s engineering rock stars
12.6 ES03 release which has important updates for the VPN-Less feature has been released. The changes and configuration details can be found on the TechNote page for the release.
VPN-Less Finesse provides...