diff --git a/.idea/sqldialects.xml b/.idea/sqldialects.xml new file mode 100644 index 0000000..b58a74b --- /dev/null +++ b/.idea/sqldialects.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Source/API/script/index.php b/Source/API/script/index.php index ef64870..7b7899c 100644 --- a/Source/API/script/index.php +++ b/Source/API/script/index.php @@ -28,6 +28,7 @@ try{ $app->get('/', function (Request $request, Response $response) { $parameters = $request->getQueryParams(); $method = $parameters['method']; + unset($parameters['method']); $response->getBody()->write($method); $listGateway = array("\\Gateway\\GatewayForm", "\\Gateway\\GatewayKeyword", "\\Gateway\\GatewayQuestion"); foreach ($listGateway as $gateway) // Pour chaque Gateway