Speech to text Microsoft API Call

Hello, I am trying to use the API call for the Microsoft Azure Speech to Text feature. I manage to create the request from postman with all the headers and parameters, it worked as intended. I try to translate the call from postman to the studio, the body of the request needs to be binary, in postman you can select the file directly, in my case a .wav file. I tried to set the attachment parameter from the HTTPS Request activity with the path of my wav file and the body type as binary

But my response will be like this:
{
“RecognitionStatus”: “Success”,
“Offset”: 0,
“Duration”: 235700000,
“DisplayText”: “”
}
If I try the same call from postman I got the actual text from the wav file. In my opinion the file don’t reach the service, or it does but is not recognize and I can’t find the problem. Let me know if you have some ideas.

@Darius_Man

Few ways for you

Also may be it is necessary to convert to binary format and then give it as a body string

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.