add Net.Http.Get usage example

This commit is contained in:
2025-07-31 20:39:44 +03:00
parent f411637520
commit 2951fd2da9

13
com/Net/GetExpl.lua Normal file
View File

@@ -0,0 +1,13 @@
local resp = Net.Http.Get(true, "https://google.com")
if resp then
Out.Result.answer = {
status = resp.status,
body = resp.body
}
return
end
Out.Result.answer = {
status = resp.status
}