Simply put, I'm trying to use PHP to get data from an URL and display a list.
Background: I have an application running on one computer that uses APIs and it's own built-in webserver. (This is not my application.) From any computer on my network I can type in the URL (http://internal-ip-address:port/api/play/getSequences) and I get the data I expect displayed in a nice XML format.
I am trying to get the PHP script on my webserver on my home server to pull that info and make a list.
I can call that URL from a curl request or from get_file_contents and I get the data but it is not in the XML format as expected and I can not parse it as XML.
Output is
[{"Name":"SomeName","FileName":"SomeFile"},
{"Name":"SomeOtherName","FileName":"SomeOtherFile"}