restful设计
uri写法
https://api.xxx.com/v1/users/5
或者
https://xx.xxx.com/api/v1/users/5
method
GET,POST(add new),PUT(update),Delete
实现实例
http://www.cnblogs.com/luyucheng/p/6016924.html
==============
理解OAuth 2.0
http://www.ruanyifeng.com/blog/2014/05/oauth_2_0.html
api身份验证用OAuth 2.0
===============
.htaccess理解
重写重定向
======================
http://www.cnblogs.com/luyucheng/p/6016924.html
http://www.ruanyifeng.com/blog/2014/05/oauth_2_0.html
http://blog.csdn.net/shaobingj126/article/details/49420145
https://segmentfault.com/a/1190000002662501