rustify::http

Function build_request

source
pub fn build_request(
    base: &str,
    path: &str,
    method: RequestMethod,
    query: Option<String>,
    data: Option<Vec<u8>>,
) -> Result<Request<Vec<u8>>, ClientError>
Expand description

Builds a Request using the given Endpoint and base URL.