I build a restAdapter by this:
return new RestAdapter.Builder() .setEndpoint(\"https://www.xyz.com/\") .build() .crea
public interface SafeUserApi { @FormUrlEncoded @POST("/api/userlogin") void getUserLogin(@Field("parm1")UserserLogin userLogin, Callback cb); }
Here parm1 is the POST parameter that you will be passing it to the server. This will solve your problem