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)
To Send body in a GET request use:
@HTTP(method = "GET", path = "api/users", hasBody = true) Observable jobDelete(@Body UserPostRequestBody body);
as is described in this post