Hello guys:
I search in forum for sintax of Downlod2, but I took hours and can't cleared...
I ONLY need ask to my CGI (made be me in FreePascal Linux)..., I need this:
http://www.domain.com/cgi-bin/nameofcgi?user=username&password=passwordname
And CGI respond with a string..., I need to get that string.
I have test with this:
Dim consulta As HttpJob
Dim resultado As String
...
...
consulta.Initialize("Consulta", Me)
resultado=consulta.Download2("http://www.xxxx.com/cgi-bin/movil?usuario=pepe&password=pepe",Array As String("Cadena",resultado))
Msgbox(resultado,"titulo")
And get nothing, and app crash with error.
Please, how I can get the string response from CGI?.
Thanks!!.
I search in forum for sintax of Downlod2, but I took hours and can't cleared...
I ONLY need ask to my CGI (made be me in FreePascal Linux)..., I need this:
http://www.domain.com/cgi-bin/nameofcgi?user=username&password=passwordname
And CGI respond with a string..., I need to get that string.
I have test with this:
Dim consulta As HttpJob
Dim resultado As String
...
...
consulta.Initialize("Consulta", Me)
resultado=consulta.Download2("http://www.xxxx.com/cgi-bin/movil?usuario=pepe&password=pepe",Array As String("Cadena",resultado))
Msgbox(resultado,"titulo")
And get nothing, and app crash with error.
Please, how I can get the string response from CGI?.
Thanks!!.