pub fn construct_url_safe(base_url: &Url, endpoint: &str) -> String
Construct a URL by combining base URL and endpoint