Hi, Brandon and Federico
Thank you for your reply.
Web server is not in my access and since its https request tcpdump will not help until i get specific certificates. I replaced the URL here.
Yes. 400 response is from server side.
# POST
$http_req(body) = "r_uri=$rU&f_uri=$fU";
http_async_query("https://example.com/test.php", "HTTP_REPLY");
Its working fine without any header specification.
However, when i try to send in the example format:
# POST
$http_req(hdr) = "Content-Type: application/json";
$http_req(method) = "POST";
$http_req(body) = "{'r_uri':'" + $rU + "', 'f_uri':'" + $fU + "'}";
http_async_query("https://example.com/test.php", "HTTP_REPLY");
It results in
INFO: <script>: route[HTTP_REPLY]: status 400
INFO: <script>: route[HTTP_REPLY]: body Insufficient parameters.