Public Sub GetResultFromDB(send_data As List, url As String, ls_result As String) As ResumableSub
Dim ls_jsongenerator As JSONGenerator
Dim ls_http As HttpJob
ls_jsongenerator.Initialize2(send_data)
Dim ls_jsonstr As String
ls_jsonstr = ls_jsongenerator.ToString
If ls_jsonstr = "" Then
MsgboxAsync("Data is Empty", "Error")
Return True
End If
ls_http.Initialize("j1",Me)
ls_http.PostString(url, ls_jsonstr)
Wait For (ls_http) JobDone(ls_http As HttpJob)
If ls_http.Success = False Then
MsgboxAsync("Could not connect to webserver","Error")
Return True
Else
End If
ls_result = ls_http.GetString
Log("Returned Reg Status (Elite Utils) : " & ls_result)
Return False
End Sub