attempt at reconciling url for apirequest handling