Retrofit 2.0-beta-2 is adding literal quotes to MultiPart values

后端 未结 7 1759
终归单人心
终归单人心 2020-12-11 00:18

Went to upgrade to Retrofit 2.0 and running into this weird problem.

I have a method to log a user in

public interface ApiInterface {

    @Multipart         


        
7条回答
  •  醉话见心
    2020-12-11 00:31

    If your UI is showing your responses with quotes, you can use getAsString instead of toString

提交回复
热议问题