Module: kamailio
Branch: master
Commit: 3d49fd52bee6632b5d93b508236e991d028db5ed
URL:
https://github.com/kamailio/kamailio/commit/3d49fd52bee6632b5d93b508236e991…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)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/3d49fd52bee6632b5d93b508236e991…
Patch:
https://github.com/kamailio/kamailio/commit/3d49fd52bee6632b5d93b508236e991…
---
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) {
...
}