zng_task::http

Function put

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

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

The default_client is used to send the request.