add http rest functions

This commit is contained in:
Evgeny
2021-08-03 08:34:39 +03:00
parent c23b3f85c6
commit e42c1950ae
14 changed files with 18 additions and 15 deletions

View File

@@ -7,7 +7,7 @@
equals = "<font color=\""..ui:get_secondary_text_color().."\"> = </font>"
function on_alarm()
net:get_text("https://api.blockchain.info/ticker")
http:get("https://api.blockchain.info/ticker")
end
function on_network_result(result)