Are you used to sending XMLs to Encoding.com's API? Vid.ly XMLs are a bit different. Have a look! Note the usage of the source & sourcefile tags.
<?xml version="1.0"?> <query> <action>AddMedia</action> <userid>[User_ID]</userid> <userkey>[User_Key]</userkey> <notify>[email_or_URL]</notify> <Source> <SourceFile>[SourceFile1]</SourceFile> <CDN>[CDNType]</CDN> </Source> </query>
All API action requests are sent to the http://m.vid.ly/api/ page. Client must send HTTP(S) POST request with single parameter named “xml”. The server response is a normal XML document. Also, an HTML form at http://m.vid.ly/test/test_api.php may be used to send a request to API.