AI Translate

FREEMIUM
Por binbin he | Actualizada 5 days ago | Translation
Popularidad

9.8 / 10

Latencia

738ms

Nivel de servicio

100%

Health Check

100%

Volver a todos los tutoriales (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);
});