I’m trying to get the exact JSON that is being sent in the request. Here is my code: OkHttpClient client = new OkHttpClient(); client.interceptors().add(new Interceptor(){ @Override public com….
Tag: retrofit
Unable to create call adapter for class example.Simple
I am using retrofit 2.0.0-beta1 with SimpleXml. I want the retrieve a Simple (XML) resource from a REST service. Marshalling/Unmarshalling the Simple object with SimpleXML works fine. When using this …
How to send byte[] array in retrofit
How do you send byte[] array in retrofit call. I just need to send over byte[]. I get this exception when I have been trying to send a retrofit call. retrofit.RetrofitError: retrofit.converter….
HTTP GET with request body RETROFIT
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) I get error message retrofit….