浏览代码

http_async_client: doc review (request body setting)

Giacomo Vacca 8 年之前
父节点
当前提交
83918a1bb6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/http_async_client/doc/http_async_client_admin.xml

+ 1 - 1
src/modules/http_async_client/doc/http_async_client_admin.xml

@@ -331,7 +331,7 @@ t_newtran();
 http_async_query("http://example.com/test.php?r_uri=$rU&f_uri=$fU", "HTTP_REPLY");
 ...
 # POST
-$var(payload) = "{'r_uri':'$rU', 'f_uri':'$fU'}";
+$http_req(body) = "{'r_uri':'" + $rU + "', 'f_uri':'" + $fU + "'}";
 http_async_query("http://example.com/test.php", "HTTP_REPLY");
 ...
 route[HTTP_REPLY] {