diff --git a/src/RequestParser.php b/src/RequestParser.php index 0655ff8b..f054710b 100644 --- a/src/RequestParser.php +++ b/src/RequestParser.php @@ -140,6 +140,12 @@ public function parseBody($content) return; } + + if (strtolower($headers['Content-Type']) == 'application/json') { + $result = json_decode($content); + $this->request->setBody($result); + return; + } }