Topic: Can't force XML output from API
You must be logged in to reply, click here to login.
| Author | Message | ||
| dellis@sacbee.comPosts: 4Location: Join Date: October 30, 2007 10:55 AMSend Message | According to the API tutorial, the following REST call should build a response using XML however I can only get it to output in the default JSON format.
http://api.vmixcore.com/apis/media.php?action=getMediaList&xml=1 I really appreciate your help! | ||
| siavashPosts: 1Location: Join Date: October 10, 2007 4:42 PMSend Message |
dellis@sacbee.com wrote:
Link
According to the API tutorial, the following REST
call should build a response using XML however I can only get it to
output in the default JSON format.
http://api.vmixcore.com/apis/media.php?action=getMediaList&xml=1 Proper parameter to send is output=xml, for your example it is:
http://api.vmixcore.com/apis/media.php?action=getMediaList&output=xml
| ||
| jdgiottaPosts: 10Location: Join Date: October 31, 2007 12:02 PMSend Message | I've been using the parameter 'export'. dellis is right though, the Tutorial page says 'xml=1' is how its done. http://developer.vmixcore.com/wiki/Tutorial_JSON_XML_Primer
| ||
| dellis@sacbee.comPosts: 4Location: Join Date: October 30, 2007 10:55 AMSend Message | Ahh now it works perfectly.... I appreciate the info!
| ||
| darrenPosts: 5Location: Join Date: October 10, 2007 4:36 PMSend Message | sorry, that was my mistake in the documentation and I will fix that. thanks!
|







