This commit is contained in:
2021-09-10 14:07:19 +08:00
parent af88f79f02
commit 5c1ceb7e97
+1
View File
@@ -79,6 +79,7 @@ class ServerRequest extends Request implements ServerRequestInterface
->withParsedBody(function (StreamInterface $stream, ?array $posts) {
try {
$content = Parse::data($stream->getContents(), $this->getContentType());
var_dump($content);
if (!empty($content)) {
return $content;
}