title: How to pass request type dynamic while calling retrofit api in Android
body: <p>In my application i need to consume a API which need to call with 2 different type of request.</p>
  
  <p>if user adding employee i need to call with POST, while updating user i need to call with PUT. </p>
  
  <p>For now i am able to construct request with dynamic URL, headers, request, but along with this i should be able to supply request type also. </p>
  
  <pre><code>@PUT
  fun addorUpdateEmp(
      @Url url: String?, @HeaderMap headers: Map&lt;String, String&gt;?, @Body data: EmployeeModel.Request
  ): Call&lt;EmployeeModel.Response&gt;
  </code></pre>
  
  <p><strong>Here i don't want to hard code "PUT" type, instead i want to supply that as parameter</strong></p>