local function test local http = require("socket.http")
local body, code, headers, status = http.request("http://example.com/lua.php")
if body then return body else return code endend
This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Module:Sandbox/theleekycauldron".
Except where otherwise indicated, Everything.Explained.Today is © Copyright 2009-2024, A B Cryer, All Rights Reserved. Cookie policy.