<?php require_once (dirname(__FILE__)."/controllers/RequestController.php"); $req = new RequestController(); $data = json_decode(file_get_contents('php://input'), true); $req->bootstrap($data);