Function zng::task::http::post

source ยท
pub async fn post(
    uri: impl TryUri,
    body: impl TryBody,
) -> Result<Response, Error>
Expand description

Send a POST request to the uri with a given request body.

The default_client is used to send the request.