thanks for quick reply,
in b4a i had to do it this way:
Code: Select all
Dim myHttpRequest As HttpRequest
url = "https://yourURLhere.html"
Dim str() As Byte
Dim form As String
form = "usernme=max&Country=Vienna&Telephone=123456"
myhttprequest.InitializePost2(url,str)
myHttpRequest.Timeout = 5000
If sock.Execute(myHttpRequest,1) = False Then
'Something went wrong
Return
End If
then , for every request, i had to use the same socket.
can i do the same with lc.
the server connection is https.
i've tried to use a socket, but have no idea how to connetc to https using open socket. Always getting not a valid port