[][src]Function chttp::post

pub fn post<B: Into<Body>>(uri: &str, body: B) -> Result<Response, Error>

Sends an HTTP POST request.

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