@POST("api/login")
Call<ApiResponse> loginUser(@Body String user);
Here the string is actually a JSONstring i.e.
{"email":"[email protected]","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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…