AD-long
AD-long
> ### 咋没设进去,有值哦 >  request里面并没有这些headers
> ### 抓包也能看到,如还有问题请描述操作步骤及配置代码 >  嗯 我去配置这些header也能看到有,但是我配置Content-type(hashMap.put("Content-Type", "application/json;charset=UTF-8");) 无效 。 request 的 Content-Type一直是: application/x-www-form-urlencoded。 用注解的形式配置 Content-Type 可以。
> ### 抓包也能看到,如还有问题请描述操作步骤及配置代码 >  补充一句 **我的是post请求** // @Headers("Content-Type: application/json;charset=UTF-8") @FormUrlEncoded @POST("custom/user/login") Observable login(@Field("username") String username, @Field("password") String password, @Field("kaptchaCode") String kaptchaCode, @Field("remember") boolean remember, @Field("userLoginType") int userLoginType
为啥转换出来的pdf没有图片啊