38

Retrofit统一添加post请求的默认参数

 6 years ago
source link: https://juejin.im/post/5ac068a551882577b45f2775
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
前言 最近在学习使用Retrofit,并尝试将之引入到现有的项目中来。大家都知道,在Http请求中我们使用Content-Type来指定不同格式的请求信息: APP_FORM_URLENCODED("application/x-www-form-url

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK