Module: kamailio
Branch: master
Commit: b7907be6231bd3eb8160300c87ddf58e3fffb206
URL:
https://github.com/kamailio/kamailio/commit/b7907be6231bd3eb8160300c87ddf58…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-09-06T14:54:49+02:00
http_client: added semicolons in the examples
- use generic domain for examples
---
Modified: modules/http_client/doc/http_client_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/b7907be6231bd3eb8160300c87ddf58…
Patch:
https://github.com/kamailio/kamailio/commit/b7907be6231bd3eb8160300c87ddf58…
---
diff --git a/modules/http_client/doc/http_client_admin.xml
b/modules/http_client/doc/http_client_admin.xml
index b06bc60..36aee43 100644
--- a/modules/http_client/doc/http_client_admin.xml
+++ b/modules/http_client/doc/http_client_admin.xml
@@ -746,8 +746,8 @@ http_get_redirect("apiserver",
"$var(targeturl)");
<programlisting format="linespecific">
...
# 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) {
...
}
@@ -756,8 +756,8 @@ switch ($retcode) {
<programlisting format="linespecific">
...
# 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) {
...
}
@@ -791,7 +791,6 @@ switch ($retcode) {
<para>Parameters:</para>
<itemizedlist>
<listitem><para>No parameters</para></listitem>
-
</itemizedlist>
</section>
</section>