[Freeswitch-users] curl.run and curl parameter

Rupa Schomaker rupa at rupa.com
Sat Jul 30 00:33:35 MSD 2011


On Fri, Jul 1, 2011 at 2:02 AM, Daniel Knoll <daniel at danielknoll.de> wrote:
> Hey Freeswitch and Javascript Guys,
>
> i would like to use curl.run to post a file to googles speech api. How
> can i add curl parameters like "-F filename" to pass the filename.
>
> curl.run("POST", "https://www.google.com/speech-api/v1/",
> "recognize?xjerr=1&client=chromium&lang=de-DE&lm=builtin:dictation",
> my_callback, "my callback_arg\n",, Content-Type: audio/x-flac;
> rate=16000);
>
>
> Has anyone an idea ?

no.  That would be a new feature.  If you want it, jira is the right
place to ask for it.

-- 
-Rupa



More information about the FreeSWITCH-users mailing list