Explorar o código

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

Kamailio Dev %!s(int64=8) %!d(string=hai) anos
pai
achega
24d6c87e02
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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] {