Extracting ENDPOINT_URI