2 of 2 people found this helpful
The PHP API doesn't support containers, so RESTfm can't either. The url it is providing is a link to the XML API. However you've got the hostspec in the RESTfm.ini.php file set to 127.0.0.1 so that's the only URL it knows.
Either change the hostspec value in the ini file, or just replace it with the real hostname/IP address.
But you also need to enable XML publishing and authenticate with an account that has that enabled.
Alternatively you can Base64 encode the file and include it as a text field in the RESTfm field list.
We use Base64 for containers
many thanks for hostsspec advice!
Just to be clear, the FM PHP API has always supported retrieval of containers.
As noted, using base64 is a good way to retrieve container data with a RESTful type API.