<?php
header("Access-Control-Allow-Origin: *"); // Allow all origins (Adjust for security if needed)
header("Content-Type: application/json; charset=UTF-8"); // JSON Response
header("Access-Control-Allow-Methods: POST, GET, OPTIONS"); // Allowed HTTP methods
header("Access-Control-Allow-Headers: Content-Type, Authorization, X-Requested-With");

// Include database connection
require_once '../db_config.php';
?>
