{"action":"created","issue":{"url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/393","labels_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/393/comments","events_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/393/events","html_url":"https://github.com/chriskacerguis/codeigniter-restserver/issues/393","id":55031607,"number":393,"title":"How to use the API keys","user":{"login":"faidoc","id":331390,"avatar_url":"https://avatars.githubusercontent.com/u/331390?v=3","gravatar_id":"","url":"https://api.github.com/users/faidoc","html_url":"https://github.com/faidoc","followers_url":"https://api.github.com/users/faidoc/followers","following_url":"https://api.github.com/users/faidoc/following{/other_user}","gists_url":"https://api.github.com/users/faidoc/gists{/gist_id}","starred_url":"https://api.github.com/users/faidoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faidoc/subscriptions","organizations_url":"https://api.github.com/users/faidoc/orgs","repos_url":"https://api.github.com/users/faidoc/repos","events_url":"https://api.github.com/users/faidoc/events{/privacy}","received_events_url":"https://api.github.com/users/faidoc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/labels/Waiting%20for%20Reply","name":"Waiting for Reply","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-21T15:17:07Z","updated_at":"2015-09-11T22:14:52Z","closed_at":"2015-02-05T21:40:12Z","body":"Hi\r\n\r\nI'm a little bit lost.\r\n\r\nI'm trying to use the API Keys to talk to the service. I've enabled the api keys in the config and created the keys table in the database.\r\n\r\nIf I try to make a PUT to domain.com/api/key/index I get Invalid Key, because there's none in the database I can use.\r\n\r\nIf I disable API keys and make the PUT again I get not response\r\n\r\nHow do I have to use the feature? Thank you"},"comment":{"url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/comments/139672980","html_url":"https://github.com/chriskacerguis/codeigniter-restserver/issues/393#issuecomment-139672980","issue_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/393","id":139672980,"user":{"login":"bribar","id":10064729,"avatar_url":"https://avatars.githubusercontent.com/u/10064729?v=3","gravatar_id":"","url":"https://api.github.com/users/bribar","html_url":"https://github.com/bribar","followers_url":"https://api.github.com/users/bribar/followers","following_url":"https://api.github.com/users/bribar/following{/other_user}","gists_url":"https://api.github.com/users/bribar/gists{/gist_id}","starred_url":"https://api.github.com/users/bribar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bribar/subscriptions","organizations_url":"https://api.github.com/users/bribar/orgs","repos_url":"https://api.github.com/users/bribar/repos","events_url":"https://api.github.com/users/bribar/events{/privacy}","received_events_url":"https://api.github.com/users/bribar/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T22:14:52Z","updated_at":"2015-09-11T22:14:52Z","body":"Hi Chris,\r\n\r\nI get this same issue, localhost environment, php 5.5.14, CI 3.0.0, MAMP, OSX Yosemite 10.10.5 \r\n\r\nPUT http://localhost/gameplan/api/index.php/key/index\r\nor\r\nPUT http://localhost/gameplan/api/index.php/key\r\n=same result"}}