index.php 201 B

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