title: Dynamic Value in Retrofit
body: <p>How to pass dynamic value in Retrofit? I am able to retrieve if its a static variable and not with dynamic variable.</p>
  
  <pre><code>https://www.dfdf.com/get_sports_name.php?menu=?Soccer
  
      Now:
      interface SportsName
      {
       @GET("get_sports_name.php?menu=Soccer")
       fun getSports() : Observable&lt;SportsResponse&gt;
      }
      Expectation:
      interface SportsName
      {
       @GET("get_sports_name.php?menu=$sportsname")
       fun getSports() : Observable&lt;SportsResponse&gt;
      }
  </code></pre>