Testing Locally & CORS Headers
If this index.html is loaded directly from a local path while your PHP server is elsewhere, add these lines to the top of your PHP code to prevent CORS blocks:
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: Content-Type, X-Name");
header("Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS");
if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') { exit; }
Quick Setup Presets
Response Details
- No Request Executed -
Request Pipeline Trace
Simulated Multi-Tenant Context
Inferred Tenant ID (Subdomain)
apple
Target Logical Table
products
Response Body (JSON)
Submit a request on the left to inspect the API ledger behavior.