[Freeswitch-users] mod-curl POST
JP
jaykris at gmail.com
Thu Feb 7 06:19:23 MSK 2013
Thanks for the response.
I want the XML data to go as the body of the POST and not as part of the
URL.
-JP
On Wed, Feb 6, 2013 at 4:56 PM, Cal Leeming [Simplicity Media Ltd] <
cal.leeming at simplicitymedialtd.co.uk> wrote:
> 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
>>
>>
>
> _________________________________________________________________________
> 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/20130206/77739304/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list