done #3
@ -33,7 +33,7 @@ class Router
|
|||||||
if (isset($_POST)) {
|
if (isset($_POST)) {
|
||||||
$this->request["body"] = json_decode(file_get_contents('php://input'), true);
|
$this->request["body"] = json_decode(file_get_contents('php://input'), true);
|
||||||
}
|
}
|
||||||
if (isset($_POST)) {
|
if (isset($_GET)) {
|
||||||
$this->request["params"] = $_GET;
|
$this->request["params"] = $_GET;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user