Function chttp::post

source ·
pub fn post<U>(uri: U, body: impl Into<Body>) -> Result<Response, Error>where
    Uri: HttpTryFrom<U>,
Expand description

Sends an HTTP POST request.

The response body is provided as a stream that may only be consumed once.