Hi all,
I use url to get charging status as follow in lua app module.
local http = require("socket.http")
logInfo("charging http_url body:" .. body .. " ");
logInfo("charging http_url c:" .. c .. " ");
logInfo("charging http_url l:" .. encode(l) .. " ");
logInfo("charging http_url h:" .. h .. " ");
URL will be return 1 or 0 as response. How to get that value in lua program. I print body,c,l,h values. But return value is not there.
Pls help.
Br,
Sanath