![]() |
Development Environment for API - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Development Environment for API (/showthread.php?tid=78919) |
Development Environment for API - emmanuel - 03-27-2021 Testing out some API thru Postman, but got the following error while trying to test HTTP 204 response under CI_ENVIRONMENT=development. It is working fine when CI_ENVIRONMENT=production, and Postman shows a proper 204 response code. Code: GET http://localhost:8080/api/test?param1=1¶m2=2 Controller PHP Code: $data = $this->model |