From c90fca2cc38333908db791d313fdc7a881aae5b4 Mon Sep 17 00:00:00 2001 From: "dorian.hodin" Date: Sat, 1 Apr 2023 19:16:18 +0200 Subject: [PATCH] Change getAllKeyword route --- Source/API/script/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/API/script/index.php b/Source/API/script/index.php index ea7c770..7d0701d 100644 --- a/Source/API/script/index.php +++ b/Source/API/script/index.php @@ -188,7 +188,7 @@ $app->delete('/deleteKeyword', function(Request $request, Response $response){ return $response->withStatus(200); }); -$app->get('getAllKeyword', function(Request $request, Response $response){ +$app->get('/getAllKeyword', function(Request $request, Response $response){ try{ $response->getBody()->write(json_encode((new GatewayKeyword)->getAllKeyword(),JSON_UNESCAPED_UNICODE)); }catch (PDOException $e){