title: java.lang.IllegalArgumentException: baseUrl must end in / while using retrofit 2.1.0 for GET method
body: <p>I am using Retrofit2 for API parsing.</p>
  
  <p>While using <code>retrofit1.9.0</code> both post and get methods work properly. But using <code>retrofit 2.1.0</code>, in the get method, there is an error:</p>
  
  <blockquote>
    <p>java.lang.IllegalArgumentException: baseUrl must end in /</p>
  </blockquote>
  
  <p>I have checked my code and there is no problem, it's working for the post method.</p>
  
  <pre><code>    Retrofit retrofit= new Retrofit.Builder() 
                          .baseUrl("sample.com/ecomtest/index.php?route=api/") 
                          .addConverterFactory(GsonConverterFactory.create())
                          .build();
  </code></pre>