![]() |
Route: role put Action, error parameters - 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: Route: role put Action, error parameters (/showthread.php?tid=87471) |
Route: role put Action, error parameters - atanet - 04-24-2023 I have this rule in my route: $routes->put('api/user/( : segment)', 'Api\User\User::update/$1'); In the controller i have: print_r($this->request->getRawInput()); the printout that comes out is this: Array ( [----------------------------691194008045713214555940 Content-Disposition:_form-data;_name] => "stato_user" 2 ----------------------------691194008045713214555940-- ) how can i recover the "user_state2 parameter? Use PostMan Thanks RE: Route: role put Action, error parameters - iRedds - 04-24-2023 You need to parse data. CodeIgniter does not support multipart/form-data. |