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