I am using AsyncHttpClient for making HTTP calls. I am unable to find a solution to set a path parameter in a URL. Here is an example:
userId = "dmsask121"
String v3_USER_DETAILS = "http://example.com/users/{userId}/details";
Request request = new RequestBuilder(HttpConstants.Methods.GET)
.setUrl(v3_USER_DETAILS)
// some way to set userId in the URL??
.build();
return execute(request)
Thanks in advance for your help.