Sub controlla_user
ProgressDialogShow("Attendere...")
ServerUrl ="https://www.xxxxxxxxxxx.info/xxxxxxxxx/prconnectdbxandroid.php"
Qry="Select pr99puntovendita FROM pr99utenti where pr99username=" & utente.Text & " and pr99password=" & password.Text
jobx.Initialize("Job0", Me)
jobx.PostString(ServerUrl, Qry)
End Sub
This error is from Android 9.1;
Android 8 and 6 works well
Hi all, Cannot figure out how to send get/post request to an https server. Rigth now i'm experiencing with my own local server which has a private certificate installed. Everything is ok if i test with postman. I'm using OkHttpUtils2 version 2.82. I've found several posts recommanding to use...
www.b4x.com
but the solution doesn't work
My OkHttpUtils2 library is 2.82
and I tried to download the attached one too
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
' note: use Net library
Dim ctm As CustomTrustManager
ctm.InitializeAcceptAll
End Sub
Starting from v2.90 it is very simple to initialize the internal http client with the 'accept all' option.
The accept all option means that certificates will not be validated.
It is done by adding the following conditional symbol (Ctrl + B):
HU2_ACCEPTALL