mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 18:12:15 +00:00
Added support for input stream when not json encoded
This commit is contained in:
@@ -82,6 +82,8 @@ class InputHandler
|
||||
if ($post !== false) {
|
||||
$this->originalPost += $post;
|
||||
}
|
||||
} else {
|
||||
parse_str($contents, $this->originalPost);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user