ColdFusion

Take a look at our ColdFusion sample script to get you started.

<!-- Building our query -->
<cfsavecontent variable="xml">
<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required-->
    <userkey>[UserKey]</userkey> <!-- required-->
    <action>AddMedia</action>
    <source>http://your.server.tld/some/path/file</source>
    <format>
        <output>mp4</output>
    </format>
    <format>
        <output>wmv</output>
    </format>
    <format>
        <output>flv</output>
    </format>
</query>
</cfsavecontent>
 
<!-- Setting up the URL to send the request -->
<cfset theURL = "https://manage.encoding.com">
 
<!-- Sending the request -->
<cfhttp url="#theURL#" charset="utf-8" method="post">
    <cfhttpparam type="formfield" name="xml" value="#xml#">
</cfhttp>
 
<!-- Getting the result -->
<cfdump var="#cfhttp.fileContent#">