Hello,
I tried to use OkHttpUtils2 with json,
the file adress have a key/password to get to the data.
I used j.password =
but The Log result is:
"ResponseError. Reason: Unauthorized, Response: {"message":"Need to provide a secret-key to READ private bins","success":false}"
Does anybody know how to solve that?
Thanks in advance.
I tried to use OkHttpUtils2 with json,
the file adress have a key/password to get to the data.
I used j.password =
but The Log result is:
"ResponseError. Reason: Unauthorized, Response: {"message":"Need to provide a secret-key to READ private bins","success":false}"
B4X:
Sub Activity_Create(FirstTime As Boolean)
Dim j As HttpJob
j.Initialize("",Me)
j.Password = "********************"
j.Download("*********************")
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Log(j.GetString)
End If
j.Release
End Sub
Does anybody know how to solve that?
Thanks in advance.