Write restful apis use torophp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
api
LICENSE
README.md
index.php

README.md

Restful API Example use ToroPHP

使用ToroPHP创建Restful api的示例; 具体见blog:http://dxjia.cn/2016/04/14/write-restful-api-in-blog-space/

http://api.dxjia.cn/v0
http://api.dxjia.cn/v0/users
http://api.dxjia.cn/v0/users/10001
http://api.dxjia.cn/v0/users/10001/book/God

License

Copyright (C) 2015 dxjia

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.