i\'m trying to call an api in my application i\'ve the following url template
test-test.domainname.com/feeds/json/v3/attribute/attribute
You do not have a protocol section. Prepend http:// or https:// depending on which applies to your url --
http://
https://
Retrofit retrofit = new Retrofit.Builder() .baseUrl("http://test-test.domainname.com") // ... other retrofit options .build();