Skip to content Skip to sidebar Skip to footer
Showing posts with the label Retrofit2

Add Bearer Token Selectively To Header In Retrofit

I would like to know if there is any option to enable/disable header Interceptor based on a flag or… Read more Add Bearer Token Selectively To Header In Retrofit

Java.lang.illegalargumentexception: Illegal Url With Retrofit

i'm trying to call an api in my application i've the following url template test-test.do… Read more Java.lang.illegalargumentexception: Illegal Url With Retrofit

How To Send Put Request With Retrofit String And Array List Of Model I Need To Use Url Encoded

can anyone guide me how to send PUT request with this json { 'delivery_status': 'Par… Read more How To Send Put Request With Retrofit String And Array List Of Model I Need To Use Url Encoded

How To Handle Retrofit Socket Timeout For Uploading Files In Android Kotlin?

var client = OkHttpClient() val builder = OkHttpClient.Builder() val gson =… Read more How To Handle Retrofit Socket Timeout For Uploading Files In Android Kotlin?

Adding Authorization Header Interface Android Retrofit

I'm using retrofit library for solving my tasks connected with requests to server. I have got p… Read more Adding Authorization Header Interface Android Retrofit

Android (java) - Post (with Headers) With Retrofit 2.1.0

I need to integrate a RESTful API called SMMRY into my Android App. This API does automatic text su… Read more Android (java) - Post (with Headers) With Retrofit 2.1.0