diff --git a/Bridges/HttpKernel.php b/Bridges/HttpKernel.php index 2854389..8764bea 100644 --- a/Bridges/HttpKernel.php +++ b/Bridges/HttpKernel.php @@ -112,7 +112,7 @@ protected static function mapRequest(ReactRequest $reactRequest, $content) // parse body? if (isset($headers['Content-Type']) && (0 === strpos($headers['Content-Type'], 'application/x-www-form-urlencoded')) - && in_array(strtoupper($method), array('PUT', 'DELETE', 'PATCH')) + && in_array(strtoupper($method), array('POST', 'PUT', 'DELETE', 'PATCH')) ) { parse_str($content, $post); }