Closed
Description
I have encountered a problem when base adress that is not the same as the domain:
For instance
public interface IGitHubApi
{
[Get("/{username}")]
Task<User> GetUser(string userName);
}
....
var fixture = RestService.For<IGitHubApi>("https://api.github.com/users/");
var result = fixture.GetUser("octocat"); //will make a request for https://api.github.com/octocat, which is not what i want...
same applies if i create an HttpClient and set the base adress myself...