Yoda Translator

フリーミアム
よって orthosie | 更新済み 4 giorni fa | Entertainment
人気

8.5 / 10

レイテンシー

191ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

getting a post 400 error

Rapid account: Maxx 808
maxx-808
hace 3 años

I have tested the endpoint on rapid api and it looks like it works, when using yoda translator on my javascript with ajax and fetch, trying different ways to write the code, and even copying the example text code, I keep getting a 400 error. Any help or input would be greatly appreciated!

Rapid account: Pthan 1
pthan1 Commented hace 2 años

Hi, I’m getting a 400 error too. I’m just using the API playground here on the endpoints tab. This is what is showing:

fetch("https://yodish.p.rapidapi.com/yoda.json?text=Master Obiwan has lost a planet.", {
“method”: “POST”,
“headers”: {
“x-rapidapi-host”: “yodish.p.rapidapi.com”,
“x-rapidapi-key”: “(deleted)”
}
})
.then(response => {
console.log(response);
})
.catch(err => {
console.error(err);
});

Rapid account: Orthosie
orthosie Commented hace 3 años

Thank you for your interest in our API. 400 error generally mean error on the client side typically nor formatting the request properly etc. If you can share more details like code samples etc. we will be happy to help. In general if it works from rapid API console then there is no error on the API Service itself.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿