lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

-----Original Message-----
[] On Behalf Of Chien Nguyen
Sent: Thursday, June 03, 2010 11:25 AM
To: Lua list
>Subject: Retrieve content of an HTML web page
>I am trying to get the content of a web page. I tried  socket.http.get 
but was not successful.

>require('socket')   -- this is ok
>Please tell me how to solve this. Many thanks!

local http = require("socket.http")