I am using Retrofit to make api calls in my android application. I have to submit a @Body of JSON
@GET(\"api/\") void getData(@Body UserPostRequestBody request)
This error also occurs when API required @POST and you are using @GET