fn post(&self, api: Api) -> Result<blocking::Response> {
        let url = api.url();
        let (headers, body) = self.make_req_args(api)?;
        let resp = self.client.post(&url).headers(headers).body(body).send()?;
        Ok(resp)
    }
/// Sends a POST request using the given API.
Sends a POST request using the given API.
Sends a POST request using the given API .
fn post(&self, api: Api) -> Result<blocking::Response> {
        let url = api.url();
        let (headers, body) = self.make_req_args(api)?;
        let resp = self.client.post(&url).headers(headers).body(body).send()?;
        Ok(resp)
    }
fn post ( & self , api : Api ) -> Result < blocking :: Response > { let url = api . url ( ) ; let ( headers , body ) = self . make_req_args ( api ) ? ; let resp = self . client . post ( & url ) . headers ( headers ) . body ( body ) . send ( ) ? ; Ok ( resp ) }
Sends a POST request using the given API.
Sends a POST request using the given API .
&self
api
Api
&self
api
Api