Quellcode durchsuchen

http_async_client: doc review (request body setting)

Giacomo Vacca vor 8 Jahren
Ursprung
Commit
83918a1bb6
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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");
 http_async_query("http://example.com/test.php?r_uri=$rU&f_uri=$fU", "HTTP_REPLY");
 ...
 ...
 # POST
 # 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");
 http_async_query("http://example.com/test.php", "HTTP_REPLY");
 ...
 ...
 route[HTTP_REPLY] {
 route[HTTP_REPLY] {