solving REST uris