deltachat::net::http

Function post_string

source
pub(crate) async fn post_string(
    context: &Context,
    url: &str,
    body: String,
) -> Result<bool>
Expand description

Posts string to the given URL.

Returns true if successful HTTP response code was returned.

Does not follow redirects.