Ci HMVC rest APIs
use CodeIgniter Rest Server https://github.com/chriskacerguis/codeigniter-restserver
CodeIgniter Rest Server With JWT Authentication https://github.com/dodistyo/ci-rest-jwt
url run project http://localhost/ci-hmvc-rest-api/api/v1/
or
http://localhost/ci-hmvc-rest-api/index.php/api/v1/
edit routes controllers to /Application/modules/api/controllers/v1/welcome.php