<div>Hi all,</div><div>I use url to get charging status as follow in lua app module.</div><div><br></div><div>local http = require(&quot;socket.http&quot;)</div><div>body,c,l,h = http.request{ url = &quot;<a href="http://localhost/charging.php?mobile=868992222">http://localhost/charging.php?mobile=868992222</a>&quot;};</div>
<div>logInfo(&quot;charging http_url body:&quot; .. body .. &quot; &quot;);</div><div>logInfo(&quot;charging http_url c:&quot; .. c .. &quot; &quot;);<span class="Apple-tab-span" style="white-space:pre">        </span></div><div>
logInfo(&quot;charging http_url l:&quot; .. encode(l) .. &quot; &quot;);</div><div>logInfo(&quot;charging http_url h:&quot; .. h .. &quot; &quot;);</div><div><br></div><div>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.</div>
<div>Pls help.</div><div>Br,</div><div>Sanath</div>