test

Restful API
1)设计指南
http://www.ruanyifeng.com/blog/2014/05/restful_api.html
2)微服务restful API定义扫盲:
consumes:指定处理请求的提交内容类型(Content-Type),例如application/json, text/html;
produces:指定返回的内容类型,仅当request请求头中的(Accept)类型中包含该指定类型才返回.
http://3ms.huawei.com/km/blogs/details/5003309
Content-Type
https://www.jianshu.com/p/ba40da728806
二、rest和restful
1、什么是rest?
https://www.liaoxuefeng.com/wiki/1022910821149312/1105000713418592
Rest是面向资源的,而资源是通过URI进行暴露。

2、概念区分
https://blog.csdn.net/weixin_41829196/article/details/79641911
无状态:服务器端不能保持除了单次请求之外的,任何与其通信的客户端的通信状态。无状态约束使服务器的变化对客户端是不可见的。

你可能感兴趣的:(环境配置)