![]() |
03-07-2022, 06:41 PM
(This post was last modified: 03-07-2022, 06:51 PM by spreaderman. Edit Reason: adding clarity )
Thank you. Why would one work and not the other though?
Also, still cannot get post to work. I am not using postman. Using the same code as before; PHP Code: public function testmethod(){ Route as follows; PHP Code: $routes->group("/api/v1", ["namespace" => 'App\Controllers\Api\V1'] , function($routes){ register method as follows; PHP Code: namespace App\Controllers\Api\v1; https://development.example.com/api/v1/user/list - works! https://development.example.com/api/v1/user/add - doesn't work from testmethod or postman. It returns a blank screen and CI debugger bar. Have tried with debugger bar off too and doesn't work as expected. Any pointers appreciated. |
Welcome Guest, Not a member yet? Register Sign In |