Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ curl -v "https://www.google.com/speech-api/full-duplex/v1/down?pair=3456123487654321" & curl -v -X POST \ "https://www.google.com/speech-api/full-duplex/v1/up?lang=en-US&lm=dictation&client=chromium&pair=3456123487654321&key=PMU" \
- --header "Transfer-Encoding: chunked" --header "Content-Type: audio/x-flac; rate=22050" --data-binary @11.rec
- [1] 16407
- * About to connect() to www.google.com port 443 (#0)
- * Trying 74.125.239.148...
- * About to connect() to www.google.com port 443 (#0)
- * Trying 74.125.239.51...
- * connected
- * Connected to www.google.com (74.125.239.148) port 443 (#0)
- * connected
- * Connected to www.google.com (74.125.239.51) port 443 (#0)
- * *successfully set certificate verify locations:
- * successfully set certificate verify locations:
- * CAfile: /etc/ssl/certs/ca-certificates.crt
- CApath: none
- CAfile: /etc/ssl/certs/ca-certificates.crt
- CApath: none
- ** SSLv3, TLS handshake, Client hello (1):
- SSLv3, TLS handshake, Client hello (1):
- * SSLv3, TLS handshake, Server hello (2):
- * SSLv3, TLS handshake, CERT (11):
- * SSLv3, TLS handshake, Server key exchange (12):
- * SSLv3, TLS handshake, Server finished (14):
- * SSLv3, TLS handshake, Server hello (2):
- * SSLv3, TLS handshake, CERT (11):
- * SSLv3, TLS handshake, Client key exchange (16):
- * SSLv3, TLS change cipher, Client hello (1):
- * SSLv3, TLS handshake, Finished (20):
- * SSLv3, TLS handshake, Server key exchange (12):
- * SSLv3, TLS handshake, Server finished (14):
- * SSLv3, TLS handshake, Client key exchange (16):
- * SSLv3, TLS change cipher, Client hello (1):
- * SSLv3, TLS handshake, Finished (20):
- * SSLv3, TLS change cipher, Client hello (1):
- * SSLv3, TLS handshake, Finished (20):
- * SSL connection using ECDHE-RSA-AES128-SHA
- * Server certificate:
- * subject: C=US; ST=California; L=Mountain View; O=Google Inc; CN=www.google.com
- * start date: 2014-06
- * expire date: 2014-09
- * subjectAltName: www.google.com matched
- * issuer: C=US; O
- * SSL certificate verify ok.
- > POST /speech-api/full-duplex/v1/up?lang=en-US&lm=dictation&client=chromium&pair=3456123487654321&key=AIzaSyCOz0RZ1o_gDftVHVhU1l8q7NKLuJAFPMU HTTP/1.1
- > User-Agent: curl/7.28.1-DEV
- > Host: www.google.com
- > Accept: */*
- > Transfer-Encoding: chunked
- > Content-Type: audio/x-flac; rate=22050
- > Expect: 100-continue
- >
- * SSLv3, TLS change cipher, Client hello (1):
- * SSLv3, TLS handshake, Finished (20):
- * SSL connection using ECDHE-RSA-AES128-SHA
- * Server certificate:
- * subject: C=US; ST=California; L=Mountain View; O=Google Inc; CN=www.google.com
- * start date: 2014-06
- * expire date: 2014-09
- * subjectAltName: www.google.com matched
- * issuer: C=US; O
- * SSL certificate verify ok.
- > GET /speech-api/full-duplex/v1/down?pair=3456123487654321 HTTP/1.1
- > User-Agent: curl/7.28.1-DEV
- > Host: www.google.com
- > Accept: */*
- >
- < HTTP/1.1 200 OK
- < Content-Type: application/json; charset=utf-8
- < Content-Disposition: attachment
- < Cache-Control: no-transform
- < X-Content-Type-Options: nosniff
- < Pragma: no-cache
- < Date: Wed, 09 Jul 2014 15:25:16 GMT
- < Server: S3 v1.0
- < X-XSS-Protection: 1; mode=block
- < X-Frame-Options: SAMEORIGIN
- < Alternate-Protocol: 443:quic
- < Transfer-Encoding: chunked
- <
- {"result":[]}
- * Done waiting for 100-continue
- < HTTP/1.1 200 OK
- < Date: Wed, 09 Jul 2014 15:25:21 GMT
- < Content-Type: text/html
- < Server: S3 v1.0
- < Content-Length: 0
- < X-XSS-Protection: 1; mode=block
- < X-Frame-Options: SAMEORIGIN
- < Alternate-Protocol: 443:quic
- <
- * Connection #0 to host www.google.com left intact
- * Closing connection #0
- * SSLv3, TLS alert, Client hello (1):
- rob@ beacon$ {"result":[{"alternative":[{"transcript":"hi how are you we have to go down to the store and see if we can get the groceries for this week so we can bring them back in the car","confidence":0.9560917},{"transcript":"hi how are you we have to go down to the store and see if we can get groceries for this week so we can bring them back in the car"},{"transcript":"hi how are you we have to go down to the store and see if we can give to groceries for this week so we can bring them back in the car"},{"transcript":"hi how are you we have to go down to the store and see if we can get to groceries for this week so we can bring them back in the car"}],"final":true}],"result_index":0}
- * Connection #0 to host www.google.com left intact
- * Closing connection #0
- * SSLv3, TLS alert, Client hello (1):
Advertisement
Add Comment
Please, Sign In to add comment