<?php
require_once 'config/cors.php';

// Simple test endpoint
echo json_encode([
    'status' => 'success',
    'message' => 'API is working',
    'timestamp' => date('Y-m-d H:i:s'),
    'method' => $_SERVER['REQUEST_METHOD'],
    'endpoint' => $_SERVER['REQUEST_URI']
]);
?>