Skip to main content

build_api_url

Function build_api_url 

Source
pub fn build_api_url(
    base_url: &str,
    path: &str,
    query: &[(String, String)],
) -> Result<String>
Expand description

Joins a configured base URL with an operation path and query params, normalizing slashes so callers never have to think about trailing/leading separators.