abstio::http

Function http_post

Source
pub async fn http_post<U: AsRef<str>, B: Into<Body>>(
    url: U,
    body: B,
) -> Result<String>
Expand description

Performs an HTTP POST request and returns the response.