Current Lua downloadable firmware will be posted here

User avatar
By ExtraSensory
#39723 Using the latest firmware, I'm trying to use the http module in Lua.
How ever, just using 'http' gives the following error:
Code: Select allstdin:1: attempt to index global 'http' (a nil value)

If I add
Code: Select allrequire("http")

I get this error:
Code: Select allstdin:1: module 'http' not found:
   no field package.preload['http']
   no file 'http.lc'
   no file 'http.lua'

Please advise!
User avatar
By ketan
#42097
ExtraSensory wrote:Using the latest firmware, I'm trying to use the http module in Lua.
How ever, just using 'http' gives the following error:
Code: Select allstdin:1: attempt to index global 'http' (a nil value)

If I add
Code: Select allrequire("http")

I get this error:
Code: Select allstdin:1: module 'http' not found:
   no field package.preload['http']
   no file 'http.lc'
   no file 'http.lua'

Please advise!




Any updates?