Login #1

Merged
PBS2H21ASH merged 15 commits from feat/login into don 2023-01-18 08:40:26 +01:00
Showing only changes of commit 95a2c3e3fe - Show all commits

View File

@ -30,7 +30,7 @@ class Router
$this->request = $_SERVER;
}
if (isset($_POST)) {
$this->request["body"] = $_POST;
$this->request["body"] = json_decode(file_get_contents('php://input'), true);
}
if (isset($_POST)) {
$this->request["params"] = $_GET;