Articles tagged in: Android



Retrofit 2 — Manage Request Headers in OkHttp Interceptor

You’ve already learned how to add custom request header using Retrofit. This post specifically touches the details on adding request headers using Retrofit 2 and the OkHttp interceptor. Interceptors are a good way to statically change requests executed with the specific service client which has the interceptor assigned. {{outline} …

Continue Reading

Retrofit — Send Data Form-Urlencoded

Multiple methods exist to send data to your server. You may already know how to send data within the request body or how to make use of multipart/form-data to upload files using Retrofit. If not and you’re interested, follow the lead :) There’s another type available to send …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.