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><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>AddMedia</action>
    <source>http://your.server.tld/some/path/file</source>
    <format>
        <output>3gp</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#">