title: How to use POST method in retrofit in Android
body: <p>I want use this URL for get data in Android. I waht <strong><code>Retrofit</code></strong> library for <code>POST</code> and <code>GET</code> method.<br>
  <strong>My URL</strong> : <a href="https://maps.googleapis.com/maps/api/place/autocomplete/json?input=%D8%A7%D8%B2%D8%A7%D8%AF%DB%8C&amp;language=fa&amp;components=country:IR&amp;location=35.6970118,51.2097313&amp;radius=500&amp;key=AIzaSyAMPXErR9Hlpj3u89eeJWq3iN5YxcmETGg" rel="nofollow noreferrer">JSON Link</a></p>
  
  <p>I want <strong><code>POST</code></strong> <strong>input</strong>, <strong>country</strong>, <strong>radius</strong> and <strong>key</strong> for this URL and <code>GET</code> data.</p>
  
  <p>How can i write code for above request such as this line : </p>
  
  <pre><code>@POST("?json={input}")
  Call&lt;Response&gt; getResponseWithID(@Path("input") String input);
  </code></pre>
  
  <p>How can i it? Please help me.</p>