Wit.ai

무료
분류별 baskarm28 | 업데이트됨 23日前 | Tools
Health Check

N/A

모든 토론으로 돌아가기

MuLaw Codec speech HTTPS request issues

Rapid account: Koshak 118
Koshak118
8年前

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

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입