Top "Retrofit" questions

Retrofit is a type-safe REST client for Android and Java by Square, Inc.

Retrofit 2 example tutorial but GsonConverterFactory display error "Cannot resolve symbol"

I'm trying to follow Retrofit's 2 tutorial, but on this part of the code there is a GsonConverterFactory that displays error …

android gson retrofit android-library okhttp
(Retrofit) Could not locate converter for class crashing app

So Retrofit 2.0.0 was recently released and theres not really any updated examples on how to use it, but im trying …

java android retrofit
How can Retrofit 2.0 parse nested JSON object?

Our team decide to use Retrofit 2.0 and I'm doing some initial research on this library. As stated in the title, …

android json retrofit
CLEARTEXT communication not supported on Retrofit

I'm trying to connect to https server on android using Retrofit. Here's my OkHttpClient @Provides public OkHttpClient provideContactClient(){ HttpLoggingInterceptor interceptor = …

android http ssl retrofit
Retrofit - Multipart request: Required MultipartFile parameter 'file' is not present

I'm trying to send file on server using Retrofit2. I do everything according documentation, but always get 400 server error. I'm …

android retrofit multipartform-data multipart retrofit2
failed to connect to localhost/127.0.0.1 android

I am new to android development, and trying to call local .NET web api service in android via retrofit library. …

android retrofit androidhttpclient
Is there a way to add query parameter to every request with Retrofit 2?

I need to add a query parameter to every request made by Retrofit 2.0.0-beta2 library. I found this solution for …

java android retrofit
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 @…

java android get retrofit
Retrofit 2 file down/upload

I'm trying to down/upload a file with retrofit 2 but can't find any tutorials examples on how to do so. …

android download upload retrofit
How to get response body to retrofit exception?

I am trying to connect to rest service via retrofit in android application. I am getting responses. But when there …

java android rest retrofit okhttp