From 2951fd2da98a648638485ab8d46c7be786f261ce Mon Sep 17 00:00:00 2001 From: Alexey Date: Thu, 31 Jul 2025 20:39:44 +0300 Subject: [PATCH] add Net.Http.Get usage example --- com/Net/GetExpl.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 com/Net/GetExpl.lua diff --git a/com/Net/GetExpl.lua b/com/Net/GetExpl.lua new file mode 100644 index 0000000..65b5219 --- /dev/null +++ b/com/Net/GetExpl.lua @@ -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 +} +