use eiktyrner::{self}; use http::{method::Method, uri::PathAndQuery, Uri}; fn main() { let _client: eiktyrner::HttpsClient = eiktyrner::HttpsClient::default(); let base_url = "https://localhost:8080"; let _req = http::Request::builder() .method(Method::GET) .uri(&format!("{}/{}", base_url, "/somethingelse")); } pub fn new_uri(path_and_query: PathAndQuery) -> Uri { Uri::builder() .scheme("https") .authority("api.billecta.com") .path_and_query(path_and_query) .build() .unwrap() }