LazyREST
LazyREST copied to clipboard
可通过Web配置的REST Server,采用GPLV2授权
我在使用list的时候没有看到相关设置。
保存以后再打开就看不到了
在新浪云上创建的,新浪云给创建的代码包,完成后,自己创建了表,访问接口的时候,返回 Not Found The requested URL /api/Uesers/insert/key=value was not found on this server. 是不是哪步出错了?
疑似路径错误
文件 LazyREST\controller\export.class.php 的第65行的 include AROOT . 'function/phpbeautifier/PhpBeautifier.inc'; 疑似应该改成 include AROOT . 'lib/phpbeautifier/PhpBeautifier.inc'; 虽然我该了之后,不报找不到PhpBeautifier.inc文件了,但是还有类型下面的报错,是否是因为我本地环境有问题哪? Warning: Invalid argument supplied for foreach () in D:\aaa\bbb\root\LazyREST\meta\api . sample . php on line 327
http://115.29.96.xxx/api/rank/insert/name=ti&score=1000 报错: The requested URL /api/rank/insert/name=ti&score=1000 was not found on this server. 求解决
建议增加:header('Content-type: application/json'); 因为某些ios的http库,例如:https://github.com/AFNetworking 在读取json时会根据返回的http header判断success或failure