This commit is contained in:
2022-12-17 01:33:17 +01:00
parent 6c48baac3d
commit 566573f441
2 changed files with 11 additions and 11 deletions

View File

@ -13,13 +13,13 @@ require __DIR__.'/classes/lib.php';
$db_connection = new Database();
$conn = $db_connection->dbConnection();
$data = json_decode(file_get_contents("php://input"));
// $data = json_decode(
// '{
// "email": "a@a.a",
// "password": "qwertzui"
// }'
// );
//$data = json_decode(file_get_contents("php://input"));
$data = json_decode(
'{
"email": "a@q.q",
"password": "qwertzui"
}'
);
$returnData = new CMsg(0);
// IF REQUEST METHOD IS NOT EQUAL TO POST