diff --git a/Router/Response.php b/Router/Response.php index 69065d7..8dedd7e 100644 --- a/Router/Response.php +++ b/Router/Response.php @@ -31,6 +31,7 @@ class Response http_response_code($status); } header('Content-Type: application/json; charset=utf-8'); + $data["status"] = http_response_code(); echo json_encode($data); }