[Freeswitch-users] mod-curl POST

Cal Leeming [Simplicity Media Ltd] cal.leeming at simplicitymedialtd.co.uk
Thu Feb 7 03:56:28 MSK 2013


The docs says this;

curl url [headers|json] [get|head|post [url_encode_data]]

So, I assume you'd just do.

curl http://example.com/ post xml=encodedxmlhere

Taken from here;
http://wiki.freeswitch.org/wiki/Mod_curl

Hope this helps, apologies if I misunderstood the question

Cal



On Thu, Feb 7, 2013 at 12:44 AM, JP <jaykris at gmail.com> wrote:

> 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 "key=value" format in the URL for
> my scenario.
>
> Thanks,
> JP
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130207/7445b231/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list