AI Translate

FREEMIUM
By binbin he | Updated एक महीने पहले | Translation
Popularity

9.8 / 10

Latency

706ms

Service Level

100%

Health Check

100%

Back to All Tutorials (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);
});