Wit.ai

FREE
By baskarm28 | Updated hace 22 días | Tools
Popularity

0.1 / 10

Latency

710ms

Service Level

100%

Health Check

N/A

Back to All Discussions

MuLaw Codec speech HTTPS request issues

Rapid account: Koshak 118
Koshak118
hace 8 años

Hey guys,

I try to send the MuLaw encoded speech via the HTTP API, using the following headers: Content-Type : audio/raw;encoding=mu-law;bits=16;rate=16000;endian=little and Transfer-encoding:chunked and get 400 error response as following:

<head><title>400 Bad Request</title></head>
<body bgcolor=“white”>
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx/1.8.0</center>
</body>
</html>

In according to your documentation, it may indicate multiple errors, aka “missing body (code: body) or missing content-type (code: content-type) or unknown content-type (code: unknown-content-type) or speech recognition failed (code: speech-rec) or invalid parameters (code: invalid-params)”.

So the question is where in the response that “code” is?
Please assist,
Ilya

Join in the discussion - add comment below:

Login / Signup to post new comments