Android Question Json Post Request correct?

rboeck

Well-Known Member
Licensed User
Longtime User
I have found an interesting example at stack overflow: https://stackoverflow.com/questions/45937616/using-deepl-api-to-translate-text

Now i wanted to try it with b4a and i think it partialy works, i get Success in sub JobDone,
but the message is:
{"jsonrpc":"2.0","error":{"code":-32700,"message":"Parse error"},"id":null}

So it looks, that my Json string is not fully correct.
There are examples to try in python, php and javascript here i can try in javascript with runkit:
https://npm.runkit.com/node-deepl/index.js?t=1504960212256

But i cant find why it doesnt work in B4A!
 

Attachments

  • Translate.zip
    7 KB · Views: 170

Similar Threads

Top