I need a method in Lua. This method should work like post and get methods which exist in php. I need it to build a simple login page with lua. What i need to do it with Lua? Thanks in advance
Asked
Active
Viewed 787 times
0
-
1Lua is normally embeded in to something, what environment are you running in? – Jane T Aug 15 '12 at 11:53
-
I don't know it, but have you looked at the URLLoader Class http://www.giderosmobile.com/forum/discussion/comment/10127#Comment_10127 – Jane T Aug 15 '12 at 12:45
-
There is no post and get methods in php. You are referencing to the variables. – Andrejs Cainikovs Aug 15 '12 at 18:28
2 Answers
0
If you want it to act as a web server, you will probably need something like Xavante.
Other than that, beforementioned luasockets has some HTTP functions; you should look at its documentation.

Bartek Banachewicz
- 38,596
- 7
- 91
- 135