# Not able to call REST API from my silverlight application

**URL:** <https://community.wowza.com/t/not-able-to-call-rest-api-from-my-silverlight-application/47822>\
**Category:** Wowza Developer Dojo\
**Created:** [December 27, 2016, 5:34pm UTC](https://community.wowza.com/t/not-able-to-call-rest-api-from-my-silverlight-application/47822 "2016-12-27T17:34:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mihir\_Desai](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@Mihir\_Desai](https://community.wowza.com/u/Mihir_Desai)\
**Post date:** [December 27, 2016, 5:34pm UTC](https://community.wowza.com/t/not-able-to-call-rest-api-from-my-silverlight-application/47822/1 "2016-12-27T17:34:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Alex\_C](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@Alex\_C](https://community.wowza.com/u/Alex_C)\
**Post date:** [January 7, 2017, 9:10pm UTC](https://community.wowza.com/t/not-able-to-call-rest-api-from-my-silverlight-application/47822/2 "2017-01-07T21:10:07Z")

</div>

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](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
