You need to convert your text to UTF-8 and the escape it ;-)
Then you should get something like this :
Which is the result of el->en doing the above on the text to be translated.
According to the docs, you really need to set the referrer :
Then you should get something like this :
{"responseData": {"translatedText":"Hello world!"}, "responseDetails": null, "responseStatus": 200}
Which is the result of el->en doing the above on the text to be translated.
According to the docs, you really need to set the referrer :
curl.setOptString(CURLOPT_REFERER, "some.address.for.the.referer")