I need to create a RESTful web api using only CodeIgniter. I need your help you can give me any links tutorials or any other helpong material. I have seen that most of the people are using https://github.com/chriskacerguis/codeigniter-restserver i have also did that but when i open the file there are errors in it. I am using dream weaver. Kindly provide me with helping material you can
Thanks in Advance.
If you have used
$config['rest_enable_keys'] = TRUE;
in your config/rest.php
file then make it FALSE
$config['rest_enable_keys'] = FALSE;
.
Because it seems like you have issue with keys.
Key Table
CREATE TABLE `keys` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`key` VARCHAR(40) NOT NULL,
`level` INT(2) NOT NULL,
`ignore_limits` TINYINT(1) NOT NULL DEFAULT '0',
`date_created` INT(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;