remove an unused method from ApiRequest

This method is no longer used. 
ApiRequest is still needed, it is just used to return 2 things from RouteParamsSubstitutor - the url with params substituted in, and the remaining params.