API Usage
Integrate our translation service into your applications with our simple REST API:
POST /api/translation
Content-Type: application/json
{
"text": "Hello, world!",
"sourceLanguage": "en",
"targetLanguage": "es"
}
Response:
{
"translatedText": "¡Hola, mundo!",
"sourceLanguage": "en",
"targetLanguage": "es",
"originalText": "Hello, world!"
}