summaryrefslogtreecommitdiff
path: root/api2.sh
blob: 8d949dd0672d6e8240eb0c9b6ac81c6f65753516 (plain)
1
2
3
4
5
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'