<?php require_once("../../config.php"); $apiActionFactory = new ApiActionFactory(); $action = $apiActionFactory->build(); header('Content-Type: application/json'); echo json_encode($action->execute());