[sr-dev] git:master:3d49fd52: modules: readme files regenerated - http_client ...

Kamailio Dev kamailio.dev at kamailio.org
Tue Sep 6 15:01:30 CEST 2016


Module: kamailio
Branch: master
Commit: 3d49fd52bee6632b5d93b508236e991d028db5ed
URL: https://github.com/kamailio/kamailio/commit/3d49fd52bee6632b5d93b508236e991d028db5ed

Author: Kamailio Dev <kamailio.dev at kamailio.org>
Committer: Kamailio Dev <kamailio.dev at kamailio.org>
Date: 2016-09-06T15:01:23+02:00

modules: readme files regenerated - http_client ...

---

Modified: modules/http_client/README

---

Diff:  https://github.com/kamailio/kamailio/commit/3d49fd52bee6632b5d93b508236e991d028db5ed.diff
Patch: https://github.com/kamailio/kamailio/commit/3d49fd52bee6632b5d93b508236e991d028db5ed.patch

---

diff --git a/modules/http_client/README b/modules/http_client/README
index fa7b86b..cd29956 100644
--- a/modules/http_client/README
+++ b/modules/http_client/README
@@ -685,18 +685,18 @@ http_get_redirect("apiserver", "$var(targeturl)");
    Example 1.21. curl_http_query() usage
 ...
 # GET-Request
-http_client_query("http://tutpro.com/index.php?r_uri=$(ru{s.escape.param})&f_uri
-=$(fu{s.escape.param})",
-           "$var(result)")
+http_client_query("http://api.com/index.php?r_uri=$(ru{s.escape.param})&f_uri=$(
+fu{s.escape.param})",
+           "$var(result)");
 switch ($retcode) {
        ...
 }
 ...
 ...
 # POST-Request
-http_client_query("http://tutpro.com/index.php", "r_uri=$(ru{s.escape.param})&f_
-uri=$(fu{s.escape.param})",
-           "$var(result)")
+http_client_query("http://api.com/index.php", "r_uri=$(ru{s.escape.param})&f_uri
+=$(fu{s.escape.param})",
+           "$var(result)");
 switch ($retcode) {
        ...
 }




More information about the sr-dev mailing list