Jelajahi Sumber

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

Kamailio Dev 8 tahun lalu
induk
melakukan
59b17e8b10
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/modules/http_async_client/README

+ 2 - 2
src/modules/http_async_client/README

@@ -332,8 +332,8 @@ http_async_query("http://example.com/test.php?r_uri=$rU&f_uri=$fU", "HTTP_REPLY"
 );
 );
 ...
 ...
 # POST
 # 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] {
 route[HTTP_REPLY] {
     if ($http_ok) {
     if ($http_ok) {