{"id":829,"date":"2022-08-30T15:07:52","date_gmt":"2022-08-30T15:07:52","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/rest-service-not-working-code-igniter-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:07:52","modified_gmt":"2022-08-30T15:07:52","slug":"rest-service-not-working-code-igniter-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/rest-service-not-working-code-igniter-collection-of-common-programming-errors\/","title":{"rendered":"REST Service not working-Code Igniter-Collection of common programming errors"},"content":{"rendered":"<p>I want to implement a Phill Sturgeon CodeIgniter RESTServer library in my project.<br \/>\nI copied the files <strong>rest.php, Format.php, REST_Controler.php<\/strong> in folders <strong>config,library,library<\/strong> respectively.<\/p>\n<p>I created my controller called services with following code:<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-09 22:47:57. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I want to implement a Phill Sturgeon CodeIgniter RESTServer library in my project. I copied the files rest.php, Format.php, REST_Controler.php in folders config,library,library respectively. I created my controller called services with following code: Originally posted 2013-11-09 22:47:57.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-829","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=829"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/829\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}