如何在codeigniter中创建restservice的路径(rest_controller)

时间:2016-02-29 10:53:09

标签: php json codeigniter response codeigniter-restserver

我正在尝试在codeigniter(rest_controller)中的restful服务中创建一个studentdb。我复制了像

这样的文件
Rest_contoller.php in libraries
Format.php in libraries
Rest.php in config and
rest_controller_lang.php in languages-english

当我尝试检查或加载文件时收到错误,如

{"status":false,"error":"Unknown method"}

我想我忘了对路径创建做些什么。有人可以看一下吗?

0 个答案:

没有答案