Hi Erel, i have done that but here the same problem.:BangHead:
'Activity module
Sub Globals
Dim b4a As String
b4a = "http://xx.xx.x.108:4000"
End Sub
Sub Activity_Create (FirstTime As Boolean)
HttpUtils.CallbackActivity = "Main" 'Current activity name.
HttpUtils.CallbackJobDoneSub = "JobDone"
HttpUtils.PostString("Job1", b4a, "req=status")
End Sub
Sub JobDone (Job As String)
Dim s As String
If HttpUtils.IsSuccess(b4a) Then
Log(HttpUtils.GetString(b4a))
' s = HttpUtils.GetString(b4a)
' Msgbox("received: " & s, "")
' Else
' Msgbox("no connection " , "")
End If
End Sub
the point is: if i monitor the data arrive at the server, i miss the "req=status" part.
i see: POST /HTTP/1.1
Content-type: application/x-www-form-urlencoded
content-Length: 12
Connection: Close
about your HttpUtilsExample: it's static, only a picture at the screen, nothing more.
greetings, henk