AI Translate

FREEMIUM
Par binbin he | Mise à jour il y a 5 jours | Translation
Popularité

9.8 / 10

Latence

738ms

Niveau de service

100%

Health Check

100%

Retour à tous les tutoriels (1)

how to use in jquery

const settings = {
“async”: true,
“crossDomain”: true,
“url”: “https://ai-translate.p.rapidapi.com/translates”,
“method”: “POST”,
“headers”: {
“content-type”: “application/json”,
“X-RapidAPI-Key”: “MY API KEY IS HERE ITS VALID”,
“X-RapidAPI-Host”: “ai-translate.p.rapidapi.com
},
“processData”: false,
“data”: JSON.stringify({
“texts”: [
“hello. world!”,
“hello. google!”,
“hello. rapidapi!”
],
“tls”: [
“zh”,
“ru”
],
“sl”: “en”
})
};

$.ajax(settings).done(function (response) {
console.log(response);
});