Re: [OpenSIPS-Devel] [NEW] rest_client module

2013-04-03 Thread Liviu Chircu
Hello Jamuel, Basic and Digest HTTP AUTH methods? If there is sufficient demand for it, it may go in the 1.10 TODO list. Is this module just a wrapper around libcurl? Can we set the various curl options that are exported from libcurl? As the module will grow in features, more libcurl options

Re: [OpenSIPS-Devel] [NEW] rest_client module

2013-04-03 Thread Bogdan-Andrei Iancu
Hello Jamuel, Isn't REST define as a way of transporting data via HTTP (with different encodings) ? :) Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 04/02/2013 07:51 PM, Jamuel Starkey wrote: [] In general I don't see what would make

[OpenSIPS-Devel] [NEW] rest_client module

2013-04-02 Thread Liviu Chircu
Hello all, A new *rest_client* module is now available in the OpenSIPS trunk. It currently offers the possibility of querying an HTTP server with GET and POST messages. The following is a quick example of issuing an HTTP GET in the OpenSIPS script in a RESTful manner:

Re: [OpenSIPS-Devel] [NEW] rest_client module

2013-04-02 Thread Jamuel Starkey
Hi Liviu, Thank you for exposing curl! Will you be supporting Basic and Digest HTTP AUTH methods? And is this module just a wrapper around libcurl? Can we set the various curl options that are exported from libcurl? In general I don't see what would make this module RESTful per se in so