Private Sub btnSend_Click (e As BANanoEvent)
'save settings
Dim ls As Map = CreateMap()
ls.Put("phone", txtTelephone.Value)
ls.Put("api", txtAPIKey.Value)
banano.SetLocalStorage2("callmebot", banano.ToJson(ls))
'
btnSend.Loading = True
Dim api As SDUIFetch
api.Initialize("https://api.callmebot.com/whatsapp.php")
api.AddParameter("source", "web")
api.AddParameter("phone", txtTelephone.Value)
api.AddParameter("apikey", txtAPIKey.Value)
api.AddParameter("text", txtMessage.Value)
banano.Await(api.GetWait)
btnSend.Loading = False
End Sub