constructs url for the connector