Public Sub oTTS
Dim poststr As String
Dim job As HttpJob
Dim res As String
job.Initialize("",Me)
poststr = "https://translate.google.com/translate_tts?ie=UTF-8&tl=de-TR&client=tw-ob&q=Guten Morgen"
job.PostString(poststr, "")
job.GetRequest.SetHeader("User-Agent", "Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0")
'job.GetRequest.SetHeader("Content-Type", "application/json")
'job.GetRequest.SetContentType("application/json")
'job.GetRequest.SetContentEncoding("text/plain")
Wait For (job) JobDone(j As HttpJob)
If j.Success Then
res = job.GetString
End If
End Sub