Hello,
This runs fine in the simulator but when I click the button in the app on my phone I get that error. Can someone tell me why? The error is on the network.request line and you can see I have data entered for the params.
local function handlebtnSendEvent( event ) if ( "ended" == event.phase ) then print( "Button was pressed and released" ) local foo = {} foo.chat = { {FromUser="Warren", ChatLine="123"} } local encode = json.encode (foo) local params = {} params.body = encode network.request( "http://www.domainhere.com/chatin.aspx?a=encode", "GET", networkChatInListener, params) end end