diff --git a/src/APIlite.php b/src/APIlite.php index c316985..093fd1f 100644 --- a/src/APIlite.php +++ b/src/APIlite.php @@ -293,7 +293,7 @@ class APIlite header('Access-Control-Allow-Origin: ' . $origin); header('Access-Control-Allow-Credentials: true'); header('Access-Control-Allow-Methods: GET, POST, OPTIONS'); - header('Access-Control-Allow-Headers: Origin, Content-Type, Accept'); + header('Access-Control-Allow-Headers: Origin, Content-Type, Accept, Authorization'); echo json_encode($arr); exit; }