Ver código fonte

modules: readme files regenerated - http_async_client ... [skip ci]

Kamailio Dev 8 anos atrás
pai
commit
24d6c87e02
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/modules/http_async_client/README

+ 1 - 1
src/modules/http_async_client/README

@@ -332,7 +332,7 @@ 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] {