# Plex API from Flash

**URL:** <https://forums.plex.tv/t/plex-api-from-flash/19969>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [August 8, 2012, 11:12pm UTC](https://forums.plex.tv/t/plex-api-from-flash/19969 "2012-08-08T23:12:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mersian](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@mersian](https://forums.plex.tv/u/mersian)\
**Post date:** [August 8, 2012, 11:12pm UTC](https://forums.plex.tv/t/plex-api-from-flash/19969/1 "2012-08-08T23:12:42Z")

</div>

I am starting to play around with the myPlex/PMS HTTP API… but I quickly ran into an issue! I’m using Flash and right now I’m attempting to get login working. I’m following the example from here [http://forums.plexapp.com/index.php/topic/43364-myplex-authentication-helpexamples/](http://forums.plexapp.com/index.php/topic/43364-myplex-authentication-helpexamples/). The problem is that when I send the login request I get back a security error indicating that Flash is not allowed to send HTTP headers. This is happening because the myPlex website does not specify a crossdomain.xml file to allow the headers from Flash ([https://my.plexapp.com/crossdomain.xml](https://my.plexapp.com/crossdomain.xml) is a 404). More information and directions about how to implement the crossdomain.xml file are here [http://helpx.adobe.com/flash-player/kb/arbitrary-headers-sent-flash-player.html](http://helpx.adobe.com/flash-player/kb/arbitrary-headers-sent-flash-player.html).  
  
  
  
Is there any chance that a crossdomain.xml file that allows the HTTP request headers could be put on the myPlex website? It would make my day!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 10:08pm UTC](https://forums.plex.tv/t/plex-api-from-flash/19969/2 "2019-12-20T22:08:27Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
