diff options
Diffstat (limited to 'api2.sh')
-rwxr-xr-x | api2.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -0,0 +1,6 @@ +curl -X POST \ +--data-binary @$1 \ +--header 'Content-Type: audio/x-flac; rate=44100;' \ +'https://www.google.com/speech-api/v2/recognize?output=json&lang=en-uk&app&key=AIzaSyAwpyvbeG6NrGMXSK1LjOvbREjx3nM_C8E' + + |