Hi,
I am currently trying to set up my app to send data to my webserver using the network.request() function.
Currently, on my main.lua I have this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | local function networkListener( event ) if ( event.isError ) then print( "Network error!") else print ( "RESPONSE: " .. event.response ) end end local params = {} email = "hello" params.body = email network.request( "http://127.0.0.1/new/verify.php", "POST", networkListener, params) |
anyone at all?
I need this, any help...