Use the uri provided by the build request. Strip it of the information regarding where it located in the host's routes namespace.