HttpGet
Perform a synchronous HTTP GET.
Syntax
Susano.HttpGet(string) -> number, stringParameters
Return(s)
Behavior
Example(s)
local st, body = Susano.HttpGet("https://httpbin.org/get")
if not st then
print("GET failed:", body)
else
print("GET", st, #body)
endLast updated