From 5c638a96f0d88d8f840f2a882eec176fa1f6cf80 Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Tue, 10 Jan 2023 00:27:38 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'api-rest/index.php?= =?UTF-8?q?'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-rest/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-rest/index.php b/api-rest/index.php index 93a23f8..6d8fda1 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -71,7 +71,7 @@ $url = explode('/', $url); $method_name = !empty($url[3]) ? (string)$url[3] : null; if($method_name == null){ - header("HTTP/1.0 400 Request Name Empty"); + //header("HTTP/1.0 400 Request Name Empty"); http_response_code(400); } @@ -162,7 +162,7 @@ } } else{ - header("HTTP/1.0 401 UNAUTHORIZED REQUEST"); + //header("HTTP/1.0 401 UNAUTHORIZED REQUEST"); http_response_code(401); } break;