diff --git a/Router/Router.php b/Router/Router.php index edf7c2f..69baccd 100644 --- a/Router/Router.php +++ b/Router/Router.php @@ -33,7 +33,7 @@ class Router if (isset($_POST)) { $this->request["body"] = json_decode(file_get_contents('php://input'), true); } - if (isset($_POST)) { + if (isset($_GET)) { $this->request["params"] = $_GET; }