curl --request POST \
--url https://api.example.com/translateText \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-secret: <x-api-secret>' \
--data '
{
"text": "<string>",
"from": "<string>",
"to": "<string>"
}
'