a
This commit is contained in:
parent
e3e5f1f5f4
commit
aac52a81f4
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user