title: How to append my url in Post request using retrofit interface in android
body: <p>I want to add or append my url in interface of retrofit. Code of interface is given below.</p>
  
  <pre><code>public interface PostInterface {
      @POST("api/v1/app/user/resetpassword/token")
      @Headers({
              "Content-Type: application/json"
      })
  
      Call&lt;JsonObject&gt; getResult(@Body JsonObject body);
  }
  </code></pre>
  
  <p>In the given url @POST("api/v1/wallet/user/resetpassword/<strong>token</strong>") i want to append token value.Which is value of a variable of an activity.</p>
  
  <p>and my activity code is given below from where i am call the method.</p>
  
  <pre><code>try {
          JsonObject params = new JsonObject();
          params.addProperty("email", email);
          params.addProperty("signup_mode", "mobile");
          PostInterface apiService =TestApiClient.getClient(this).create(PostInterface.class);
          Call call = apiService.getResult(params);
  
          call.enqueue(new Callback() {
              @Override
              public void onResponse(Call call, Response response) {
  </code></pre>