RSR-162 specify endpoint url

Previously production endpoint was hard coded.  This change makes it so we can connect to stage.