Wowza Community

Not able to call REST API from my silverlight application

I want to make a REST API call (http://[wowza-server]:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testaplication/instances/definst/incomingstreams/newstream.stream/monitoring/current)

from my silverlight application in my local environment. I am not able to do so because I am getting an error when I checked it in fiddler. The error is because of silverlight’s inability to connect to “http://[wowza-server]:8087/clientaccesspolicy.xml” and “http://[wowza-server]:8087/crossdomain.xml”. Where should I put clientaccesspolicy.xml and crossdomain.xml files?

Can someone please help me to solve this

Hello,

Where do you have the clientaccesspolicy.xml and crossdomain.xml files now?

Have you looked over this article:

https://www.wowza.com/docs/how-to-access-documentation-for-wowza-streaming-engine-rest-api

Make sure that the HTTPHeaders are setup correctly on your application.

Regards,

Alex