codeigniter-restserver-resources
codeigniter-restserver-resources copied to clipboard
An example controller that uses the fully RESTful server implementation https://github.com/chriskacerguis/codeigniter-restserver
Hi, I was looking at your sample: ``` $route['api/([a-z0-9]+)/(\d+)'] = 'api/$1/index/$2'; ``` but this does not remove index from my url. Any ideas? Thank you in advance.
It seems that you are not parsing post parameters in delete. The solution I found is the following: in: protected function _parse_delete(){ parse_str(file_get_contents('php://input'), $this->_delete_args); } change for : protected function...
Line: 39 ``` // If no key level provided, give them a rubbish one $level = $this->_put('level') ? $this->_put('level') : 1; $ignore_limits = $this->_put('ignore_limits') ? $this->_put('ignore_limits') : 1; ``` I...
Thanks for the better lib. But I think you need a more detailed README for this and a api key example. =)