fn url_encode(path: &String) -> String
Expand description
URL encodes the provided path string.
This function takes a reference to a String representing a path,
encodes it using the form_urlencoded crate, and returns the encoded string.
§Arguments
path - The input path string to be URL encoded.
§References:
§Returns
Returns a URL encoded string.