input = read() print(http.get(input))And all it comes up with is a message saying 'table:' and a bunch of numbers & letters.
Help?
Posted 28 May 2012 - 08:08 PM
input = read() print(http.get(input))And all it comes up with is a message saying 'table:' and a bunch of numbers & letters.
Posted 28 May 2012 - 08:11 PM
for k,v in pairs(http.get(input)) do print(k.."=>"..v) endto get a method list i think
Posted 28 May 2012 - 08:22 PM
local h = http.get("url")
if h then
local s = h.readAll()
h.close() -- not sure if really needed, but just in case
print(s)
else
print("Error connecting to url")
end
0 members, 1 guests, 0 anonymous users