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