hi everyone !
i am trying send a POST request using JOkHttpUtils2_NONUI library , but "http.PostString" dont return nothing
here procedure :
i am trying send a POST request using JOkHttpUtils2_NONUI library , but "http.PostString" dont return nothing
here procedure :
B4X:
Sub Process_Globals
Private http As HttpJob
Dim ReturnResult As String
End Sub
Public Sub Post(url As String,postString As String) As String
If (http.IsInitialized = True) Then
ReturnResult = http.PostString(url,postString)
Log("HttpRequest = "&ReturnResult)
Return ReturnResult
Else
Log("HttpJob need be initialized !")
Return "Error"
End If
End Sub