When trying async feature enabled for Android in latest builds. It appears POST with params is not working.
code:
local postData = “somekey=”…somevalue
local params = {}
params.body = postData
network.request(urlString, “POST”, networkListener, params )
event passed to networkListner returns:
04-13 08:53:15.950 2492 2533 I Corona : table: 0x4e4be8 {
04-13 08:53:15.950 2492 2533 I Corona : [isError] => true
04-13 08:53:15.950 2492 2533 I Corona : [name] => “networkRequest”
04-13 08:53:15.950 2492 2533 I Corona : [response] => “Internal Server Error”
04-13 08:53:15.950 2492 2533 I Corona : }
works fine on iOS and if you change code to “GET” it will work on Android.
Tried latest build CoronaSDK 2011.484.
Submitted bug about this.
-Steven
[import]uid: 7175 topic_id: 8852 reply_id: 308852[/import]
