HttpJob or HttpClient Crashing APP
Hello,
I'm trying to do for several days a simple POST to a website, but in the time of send, the error occurs in the application and aborts.
I tried HttpClient, after I tried HttpJob, but occurs the same, crash!!!
Including I tried inside a SERVICE and a Simple Button, like this:
'***************************************************
Dim job1 As HttpJob
job1.Initialize("Job1", Me)
'Send a POST request
Dim pURL As String
pURL = "http://www.mywebsite.com/Recieve.asp"
Dim pVariaveis As String
pVariaveis = "Versao=1.0.0&Pacote=com.visualnet.vngps&Code=11111222222&Latitude=42.23826969633247&Longitude=-8.713822699372923&Velocidade=0"
job1.PostString(pURL, pVariaveis)
'***************************************************
and after this, past like 3 seconds, occurs:
Somebody help me!! What I do wrong? :BangHead: