Category "retrofit"

HTTP 400 Bad Request - Invalid Header with Retrofit on Android

I'm migrating my Android project from Apache HttpClient to Retrofit with OkHttp. POST/PUT request return error, even though the application custom headers are t

What is the Chain object in OkHttp Interceptors? Retrofit

I am watching a tutorial on how to add headers with OkHttp Interceptors, but I am confused about a few things. What is a Chain object? What does Request origina

Does OkHttp support accepting self-signed SSL certs?

I'm working for a customer who has a server with self-signed SSL cert. I'm using Retrofit + CustomClient using wrapped OkHttp client: RestAdapter restAdapter