yale8848 / RetrofitCache

RetrofitCache让retrofit2+okhttp3+rxjava配置缓存如此简单。通过注解配置,可以针对每一个接口灵活配置缓存策略;同时让每一个接口方便支持数据模拟,可以代码减小侵入性,模拟数据可以从内存,Assets,url轻松获取。
MIT License
676 stars 85 forks source link

后台规定全用post #28

Closed TianGuisen closed 5 years ago

TianGuisen commented 5 years ago

明明只是普通的获取数据可以用get,但是后台规定所有请求都用post.那就没法用了吗...

yale8848 commented 5 years ago

可以使用,但是这样不规范

TianGuisen commented 5 years ago

可是你写的是只有get能用啊..

yale8848 commented 5 years ago

是啊,但强烈不建议给post用,你们后台这样很不规范