For a school project, my mate and I are using a webpage using Microsoft Azure Video Indexer’s API, since last week everything was working well but now I have this error every time.. I thought it was because of the new year because it stopped working the 1st of January. What is strange it’s that the same snippet of code that worked don’t work anymore. For example the sample proposed on the API’s website for getting a token doesn’t
We have fixed the issue. you will get “access-control-allow-origin: *” header at the API responses.
your API key (Ocp-Apim-Subscription-Key) is private information, and you should not expose it at the client side.
you should generate access token from your web server using that key and use (send it at Authorization header) it with all your operations request.
please delete it from the example above as well.