<?php $data = json_decode(file_get_contents('php://input')); $secret = $data['secret']; header('Content-Type: application/json'); echo '{"ha":"ah"}';