deltachat::net::http

Function post_form

source
pub(crate) async fn post_form<T: Serialize + ?Sized>(
    context: &Context,
    url: &str,
    form: &T,
) -> Result<Bytes>
Expand description

Sends a POST request with x-www-form-urlencoded data.

Does not follow redirects.