how can i modify this code to post data to the server
this example has only one parameter
the problem with this code below is sometimes it is slow
this example has only one parameter
B4X:
Dim j As HttpJob
j.Initialize("msg", Me)
j.PostString(link & "?type=text", txtMessage.Text)
the problem with this code below is sometimes it is slow
B4X:
Dim j As HttpJob
j.Initialize("", Me)
j.Download($"http://kccug.com/KabojjaApp/RecieveSMS.ashx?customerId=${act}&s=${edtMessage.Text}&d=${getdate(DateTime.Now)}&id=${NewID}&ph=${phone}&f=${sx}"$ )
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Log(j.GetString)
End If