I had a project which ran fine on previous versions of B4A.
Now I loaded it with version 6.80.
There were some errors with http related code, so I removed the bas modules related with http and loaded libraries okhttp (1.20) and okhttputils (2.20). I modified the relevant code to okhttp...
However there's some code that needs to be like this:
I've seen other posts that getstring is not supported, but I am confused. How do I read the response's string?
Thank you
Now I loaded it with version 6.80.
There were some errors with http related code, so I removed the bas modules related with http and loaded libraries okhttp (1.20) and okhttputils (2.20). I modified the relevant code to okhttp...
However there's some code that needs to be like this:
B4X:
Sub Http_ResponseSuccess (Response As OkHttpResponse, TaskId As Int)
Dim gotstring As String
gotstring=Response.GetString("UTF8")
....
end sub
I've seen other posts that getstring is not supported, but I am confused. How do I read the response's string?
Thank you