title: retrofit get request with dynamic path
body: <p>I have two APIs - </p>
  
  <p>One to search for a phone number (let's say <a href="http://example.com/api/?phone=1234567890" rel="nofollow">http://example.com/api/?phone=1234567890</a>) which returns the <strong>id</strong> of the person associated with that phone number</p>
  
  <p>And another (<a href="http://example.com/api/con/" rel="nofollow">http://example.com/api/con/</a><strong>id</strong>/) to fetch for contact details.</p>
  
  <p>Basically, in the second call, I have to include the id that is returned in the first call.</p>
  
  <p>My question is how do I do this?</p>
  
  <p>I've come till here in my code, but I couldn't find anything beyond this for my situation.</p>
  
  <pre><code>public interface RequestInterface {
      @GET("/con/")
      Call&lt;JSONResponse&gt; getJSON();
  }
  </code></pre>