[Freeswitch-users] curl.run and curl parameter
Daniel Knoll
daniel at danielknoll.de
Fri Jul 1 11:02:05 MSD 2011
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 ?
Thanx a lot for answers.
Daniel
More information about the FreeSWITCH-users
mailing list