pub fn build_request( base: &str, path: &str, method: RequestMethod, query: Option<String>, data: Option<Vec<u8>>, ) -> Result<Request<Vec<u8>>, ClientError>
Builds a Request using the given Endpoint and base URL.