Lightweight RESTful API, based on the feature of PHP 5.3