How to fix the code to execute a POST request to the Yandex service using Matlab?

You need to perform a post request to the Yandex service for speech recognition. In the developer's guide it is specified that it is necessary to fill the request. Example there is this:
POST /asr_xml?uuid=<user ID>&key=&topic=numbers〈=EN-us HTTP/1.1
Host: asr.yandex.net
Content-Type: audio/x-pcm;bit=16;rate=16000
Transfer-Encoding: chunked

Try in Matlab:
url='https://tech.yandex.ru/speechkit/cloud/';
option = weboptions('Username','name','KeyName','key','ContentType','audio', maybe something else need??);
Body = struct(?????????);
Body = struct('order', Body);
response = send(url, Body, option); or response =webwrite (url, Body, option); ???

Don't understand what Body point...
need some way to enter the audio snippet (something like [X,Fs] = audioread('C:\blabla.wav')), where and how?

Help!I am a layman
June 7th 19 at 14:37
0 answer

Find more questions by tags YandexMATLAB