GET api with Retrofit
问题 I have a web service link which I want to hit with different customerId in the form of http://apidev.myserver.com.au:8980/TestService/rest/TestService/jobs/bycustid/customerId how do I append the value of customerId? this is my base URL : http://apidev.myserver.com.au:8980/TestService/rest/TestService/ this is what my interface for calls look like : interface CustomerJobs { @GET("jobs/bycustid/11726") Call<CustomerJobsPojo> getCustomerJobs(); } 回答1: As the doc says : interface CustomerJobs {