Dear sir,
I have problems with my WCF Service method POST.
It is working fine when calling from other clients, but it is not work when calling from Corona.
When calling from Corona, the service is fired, but its parameter is always NULL.
This is the Corona code:
local dados = {}
dados.esc_codigo = codigo
local body = json.encode(dados)
local url = “http://192.168.0.28:81/wcfEscola.svc/consultaCodigo”
local headers = {}
headers[“Content-Type”] = “application/json”
headers[“Accept-Language”] = “en-US”
local params = {}
params.headers = headers
params.body = body
network.request(url, “POST”, onRequestComplete, params)