@POST("api/login")
Call<ApiResponse> loginUser(@Body String user);
Here the string is actually a JSONstring i.e.
{"email":"test@gmail.com","password":"test"}
Couldnt figure out what is wrong in this. Either the string it again converted to json. Please suggest..
This is what i want to do to my request as shown in picture.