This commit is contained in:
2021-09-10 14:01:38 +08:00
parent e1223f38cd
commit c7ac95c807
+1
View File
@@ -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());
}