Tamicer / Novate

A safety client by Https for android, (Android网络框架,基于Retrofit和RxJava打造的链式网络库, 支持okhttp的调用风格,又兼容Retrofit API,并支持rxJava链式操作)
Apache License 2.0
1.43k stars 268 forks source link

Post请求怎么设置 Content-Type为application/json #57

Closed y2653904 closed 6 years ago

Tamicer commented 6 years ago
  novate.newBuilder()
                .addHeader(headers)
                .build()
                .rxJson(url, "jsonString....", new RxStringCallback() {

               }

默认就是application/json

y2653904 commented 6 years ago

解决