$.ajax({ method: 'POST', data: audioData, contentType: 'audio/x-flac; rate=44100', success: function(data) { console.log(data); }, error: function(error, er, err) { console.log(err); } });
OPTIONS http://www.google.com/speech-api/v2/recognize?key=MY_KEY_AGAIN&output=json&lang=ru-ru 405 (Method Not Allowed)bitrix.onvolga.com/:1 XMLHttpRequest cannot load http://www.google.com/speech-api/v2/recognize?key=MY_KEY&output=json&lang=ru-ru. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://bitrix.onvolga.com' is therefore not allowed access. The response had HTTP status code 405.
<p><b>400.</b> <ins>That’s an error.</ins><p>Your client has issued a malformed or illegal request. Content-Type should be of the form: audio/xxx; rate=yyy <ins>That’s all we know.</ins>
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
--