I am using postman extension for post request. I want to make same request with android. I used retrofit library for access my goal. But I can\'t get successful result. Where is
Try this provide body
public class SignBody { @SerializedName("signin[username]") @Expose private String username; @SerializedName("signin[password]") @Expose private String password; }
change interface to
@POST("/login") Call getResponse(@Body SignBody body);