<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi, Dragomir!<br>
<br>
Parameters are sent in the params parameter. Check the example in
the documentation:<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.2.x/mi_json#id249590">http://www.opensips.org/html/docs/modules/2.2.x/mi_json#id249590</a><br>
<br>
This works for me:<br>
# curl -s '<a class="moz-txt-link-freetext" href="http://127.0.0.1:8080/json/get_statistics?params=shmem">http://127.0.0.1:8080/json/get_statistics?params=shmem</a>:'<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 01/16/2017 11:07 AM, Dragomir
Haralambiev wrote:<br>
</div>
<blockquote
cite="mid:CADzurOLSY3kB3h_v=iXtURja=KpmhySp2rqSrQ2WVSGCveuAPA@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I try to use mi_json modile in Opensips 2.2.2.<br>
<br>
All is OK when try to read log level:</div>
<div><br>
opensips_ip:Opensips_http_port/json/log_level<br>
<br>
How to use "get_statistics hmem:" ?</div>
<div>Follow command not working:</div>
<div><br>
</div>
<div>opensips_ip:Opensips_http_port/json/get_statistics%20shmem:<br>
</div>
<div><br>
</div>
<div>Regards,</div>
<div>Dragomir</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>