When I call webhook using PHP, I get this message while testing. Sorry, I didn't get any response Attached my webhook request json and and php code
if($method == 'POST')
{
$requestBody = file_get_contents('php://input');
$json = json_decode($requestBody, true, 512, JSON_BIGINT_AS_STRING);
$customer_name=$json["requestJson"]["intent"]["params"]["customer_name"]["resolved"];
$response = array ('prompt' => array ('firstSimple' => array ( 'speech' => $customer_name, 'text' =>
$customer_name)));
echo json_encode( $response );
}
also webhook response json while testing
{
"responseJson": {
"prompt": {
"firstSimple": {}
}
}
}
Webhook request json