HTTP request to send wav file
Hi, as far as I know http post request has a feature for sending .wav file:

Can you please guide me of how to make the same with jQuery Ajax POST. I've tried this way:

data geenrated like that: 'var data = new FormData(); data.append('file',$('input[type=file]')[0].files[0]);' It gives illegal invocation error.
Finaly tried nodejs type request for the same POST request, received succes output, but i guess haven't managed to send correctly .wav file: `var request = require('request');
var data1 = new FormData(); data1.append('file',$('input[type=file]')[0].files[0]); var headers = { 'Authorization': 'Bearer token', 'Content-Type': 'audio/wav' };
var dataString = '@sample.wav';
var options = { url: 'https://api.wit.ai/speech?v=20141022', method: 'POST', headers: headers, body: data1 };
function callback(error, response, body) { if (!error && response.statusCode == 200) { console.log(body); } else {console.log(error+response);} }
request(options, callback);`
Output gave the following result: { "msg_id" : "3f6228bb-5c0b-4505-b033-7c42932d284d", "_text" : "", "outcomes" : [ ], "WARNING" : "DEPRECATED" }
BTW is sending a speech file won't be supported anymore? And any other form of audio - voice recognition?
Is it solved? I also find speech to text platform. what reference do you use?