POST
/translate
curl \
-X POST https://tekinatranslate.onrender.com/translate \
-H "Content-Type: application/json" \
-d '{"text":"hi this is aniket","from":"en","to":"hi"}'
Request example
{
"text": "hi this is aniket",
"from": "en",
"to": "hi"
}
Request examples
{
"text": "hi this is aniket",
"from": "en",
"to": "hi"
}
Response examples (200)
{
"translations": {
"text": "हाय यह अनिकेत है",
"to": "hi"
}
}
Response examples (200)
{
"translations": {
"text": "हाय यह अनिकेत है",
"to": "hi"
}
}