<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello all,<br>
<br>
A new <b>rest_client</b> module is now available in the OpenSIPS
trunk. It currently offers the possibility of querying an HTTP
server with GET and POST messages.<br>
<br>
The following is a quick example of issuing an HTTP GET in the
OpenSIPS script in a RESTful manner:<br>
<br>
rest_get(<a class="moz-txt-link-rfc2396E" href="http://">"http://myserver.org/userinfo/$fU"</a>,
"$avp(body)"));<br>
xlog("Info of user $fU: $avp(body)\n");<br>
<br>
<br>
Please refer to the module documentation [1] for complete examples,
along with a more in-depth description of the module functions and
dependencies.<br>
<br>
Testing and feedback are appreciated.<br>
<br>
[1]
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://www.opensips.org/html/docs/modules/devel/rest_client.html">http://www.opensips.org/html/docs/modules/devel/rest_client.html</a><br>
<br>
Best regards,<br>
<pre class="moz-signature" cols="72">--
Liviu Chircu
OpenSIPS Dev
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
</body>
</html>