From 4c144d7b215faea77e025cade3b9e25e2871e427 Mon Sep 17 00:00:00 2001 From: Giacomo Vacca Date: Wed, 26 Apr 2017 22:12:43 +0200 Subject: [PATCH] http_async_client: doc review (payload setting) (cherry picked from commit e2ddfed671bebdaf85035c2f813dc955f54484b7) --- src/modules/http_async_client/doc/http_async_client_admin.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 b7136a8d7d1..4656216c3f1 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) {