The docs says this;<div><br>curl url [headers|json] [get|head|post [url_encode_data]]</div><div><br></div><div>So, I assume you&#39;d just do.</div><div><br></div><div>curl <a href="http://example.com/">http://example.com/</a> post xml=encodedxmlhere</div>
<div><br></div><div>Taken from here;</div><div><a href="http://wiki.freeswitch.org/wiki/Mod_curl">http://wiki.freeswitch.org/wiki/Mod_curl</a></div><div><br></div><div>Hope this helps, apologies if I misunderstood the question</div>
<div><br></div><div>Cal</div><div><br><br><div><br><div class="gmail_quote">On Thu, Feb 7, 2013 at 12:44 AM, JP <span dir="ltr">&lt;<a href="mailto:jaykris@gmail.com" target="_blank">jaykris@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How do I POST some XML data to a URL using mod_curl? I want to call it from a Lua script. I cannot use the usual &quot;key=value&quot; format in the URL for my scenario.<div>
<br></div><div>Thanks,</div><div>JP<br><div><br>
</div><div><br></div><div><br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>