title: Is it possible to use multiple baseurl in retrofit?
body: <p>I want to use two server url using retrofit, but only one is working when I am using two base url. Please tell me how to use two base url in android.</p>
  
  <pre><code>public class APIUtils {
      public static String Url1 = "http://10.0.13.46:19460";
      public static String Url12 = "http://freshcamera.herokuapp.com";
  
  
      public static SOService getSOService(String url) {
          return RetrofitClient.getClient(url1).create(SOService.class);
      }
  
  }
  </code></pre>
  
  <p>SOService class</p>
  
  <pre><code>public interface SOService {
  
  
     //URL 2
      @FormUrlEncoded
      @POST("/api/user/LoginUser")
      Call&lt;Login&gt; Login(@Field("username") String username, @Field("password")String password, @Field("grant_type")String passwords);
  }
  </code></pre>
  
  <p>SOService_AI class</p>
  
  <pre><code>public interface SOService_AI {
  
  
      //URL 1
      @FormUrlEncoded
      @POST("/finalresult1")
      Call&lt;List&lt;AIImageProcessing&gt;&gt; AiImageCheck(@Field("img_data") String imgdata, @Field("name")String imgName);
  
  
  }
  </code></pre>