<div dir="ltr">Hi Daniel,<div>it should be $http_req(body). Wrong commit - the right one coming in in the next minutes.</div><div><br></div><div>Cheers,</div><div>Giacomo</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 26 April 2017 at 22:32, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
On 26.04.17 22:12, Giacomo Vacca wrote:<br>
> [...]<br>
<span class="">> @@ -331,7 +331,8 @@ t_newtran();<br>
>  http_async_query("<a href="http://example.com/test.php?r_uri=$rU&amp;f_uri=$fU" rel="noreferrer" target="_blank">http://<wbr>example.com/test.php?r_uri=$<wbr>rU&amp;f_uri=$fU</a>", "HTTP_REPLY");<br>
>  ...<br>
>  # POST<br>
> -http_async_query("<a href="http://example.com/test.php" rel="noreferrer" target="_blank">http://<wbr>example.com/test.php</a>", "{'r_uri':'$rU', 'f_uri':'$fU'}", "HTTP_REPLY");<br>
> +$var(payload) = "{'r_uri':'$rU', 'f_uri':'$fU'}";<br>
> +http_async_query("<a href="http://example.com/test.php" rel="noreferrer" target="_blank">http://<wbr>example.com/test.php</a>", "HTTP_REPLY");<br>
>  ...<br>
>  route[HTTP_REPLY] {<br>
>      if ($http_ok) {<br>
><br>
</span>is $var(payload) right in the example? Or should it be $http_req(body)?<br>
<br>
Cheers,<br>
Daniel<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Daniel-Constantin Mierla<br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio Advanced Training - May 22-24 (USA) - <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
Kamailio World Conference - May 8-10, 2017 - <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a><br>
<br>
</font></span></blockquote></div><br></div>