[sr-dev] git:5.0:4c144d7b: http_async_client: doc review (payload setting)
Giacomo Vacca
giacomo.vacca at gmail.com
Wed Apr 26 22:16:50 CEST 2017
Module: kamailio
Branch: 5.0
Commit: 4c144d7b215faea77e025cade3b9e25e2871e427
URL: https://github.com/kamailio/kamailio/commit/4c144d7b215faea77e025cade3b9e25e2871e427
Author: Giacomo Vacca <giacomo.vacca at gmail.com>
Committer: Giacomo Vacca <giacomo.vacca at gmail.com>
Date: 2017-04-26T22:16:41+02:00
http_async_client: doc review (payload setting)
(cherry picked from commit e2ddfed671bebdaf85035c2f813dc955f54484b7)
---
Modified: src/modules/http_async_client/doc/http_async_client_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/4c144d7b215faea77e025cade3b9e25e2871e427.diff
Patch: https://github.com/kamailio/kamailio/commit/4c144d7b215faea77e025cade3b9e25e2871e427.patch
---
diff --git a/src/modules/http_async_client/doc/http_async_client_admin.xml b/src/modules/http_async_client/doc/http_async_client_admin.xml
index b7136a8..4656216 100644
--- a/src/modules/http_async_client/doc/http_async_client_admin.xml
+++ b/src/modules/http_async_client/doc/http_async_client_admin.xml
@@ -331,7 +331,8 @@ t_newtran();
http_async_query("http://example.com/test.php?r_uri=$rU&f_uri=$fU", "HTTP_REPLY");
...
# POST
-http_async_query("http://example.com/test.php", "{'r_uri':'$rU', 'f_uri':'$fU'}", "HTTP_REPLY");
+$var(payload) = "{'r_uri':'$rU', 'f_uri':'$fU'}";
+http_async_query("http://example.com/test.php", "HTTP_REPLY");
...
route[HTTP_REPLY] {
if ($http_ok) {
More information about the sr-dev
mailing list