Retrofit 2 disable encoding for post parameters
问题 I am beginner in retrofit... I need send POST request with simple parameters name : value login[name] : some-name login[pw] : some-pw date : 2017-08-28T12:12:12+0200 so, I tried @FormUrlEncoded @POST(urlLogin) Call<Login> signIn(@Field("login[name]") String name, @Field("login[pw]") String pw, @Field("date") String date); that send to the server: login%5Bname%5D : some-name login%5Bpw%5D : some-pw date : 2017-08-28T21%3A11%3A57%2B0200 next @FormUrlEncoded @POST(urlLogin) Call<Login> signIn(