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