This commit is contained in:
KANE LAZENI 2026-02-23 02:43:54 +00:00
parent e3e5f1f5f4
commit aac52a81f4
2 changed files with 5 additions and 3 deletions

View File

@ -571,7 +571,8 @@
fetch('verify_facial_api.php', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
// 'Content-Type': 'application/json',
'Content-Type': 'text/html; charset=UTF-8',
},
body: JSON.stringify({
action: 'validate_token',

View File

@ -4,10 +4,11 @@
* Gère la validation des tokens et la comparaison des visages
*/
header('Content-Type: application/json');
// header('Content-Type: application/json');
header('Content-Type: text/html; charset=UTF-8');
// require_once 'config.php';
// require_once 'database.php';
require_once "Assure.php";
// require_once "Assure.php";
class FacialVerificationAPI {