Android Tutorial http Form POST

HI,
due i've needed it...here you are:
B4X:
      Dim url As String
      Dim myHttpRequest As HttpRequest
      url = "https://yourURLhere.html"
      Dim str() As Byte
      Dim form As String
      form = "usernme=max&Country=Vienna&Telephone=123456"
      str = form.GetBytes("UTF8")
      myhttprequest.InitializePost2(url,str)
      myHttpRequest.Timeout = 5000
      If sock.Execute(myHttpRequest,1) = False Then 
         'Something went wrong
         Return
      End If
 
Top