mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-03 17:32:25 +00:00
oh again update Get example
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
local reqAddr
|
local reqAddr
|
||||||
|
local logReq = true
|
||||||
|
|
||||||
if In.Params and In.Params.url then
|
if In.Params and In.Params.url then
|
||||||
reqAddr = In.Params.url
|
reqAddr = In.Params.url
|
||||||
@@ -10,7 +11,7 @@ else
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local resp = Net.Http.Get(true, reqAddr)
|
local resp = Net.Http.Get(logReq, reqAddr)
|
||||||
if resp then
|
if resp then
|
||||||
Out.Result.answer = {
|
Out.Result.answer = {
|
||||||
status = resp.status,
|
status = resp.status,
|
||||||
|
|||||||
Reference in New Issue
Block a user