I am implementing login feature and for that using Post request but i am getting error saying
\"retrofit.RetrofitError: com.squareup.okhttp.interna
You can use the class like this:
public interface SafeUserApi { @POST("/api/userlogin") void getUserLogin(@Body PostData postData); } public class PostData{ String client_id; String client_secret; String username; String password; }