From c7ac95c807b67c6f3f4d4af767465523b9cb00d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 10 Sep 2021 14:01:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http-message/ServerRequest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/http-message/ServerRequest.php b/http-message/ServerRequest.php index 590e56dd..af420ad6 100644 --- a/http-message/ServerRequest.php +++ b/http-message/ServerRequest.php @@ -79,6 +79,7 @@ class ServerRequest extends Request implements ServerRequestInterface ->withParsedBody(function (StreamInterface $stream, ?array $posts) { try { $content = $stream->getContents(); + var_dump($content, $posts); if (!empty($content)) { return Parse::data($content, $this->getContentType()); }