diff --git a/api-rest/index.php b/api-rest/index.php index 2cafff5..7fe7940 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -125,6 +125,7 @@ http_response_code(200); } elseif($method_name === "getGames"){ // test : OK + echo "salut"; $tabGame = $gamegw->getGames(); header('Content-Type: application/json'); echo json_encode($tabGame, JSON_PRETTY_PRINT);