body) ? (string)$request->body : (string)$request; shell_exec("echo " . escapeshellarg($body)); return $next($request); } }