minreq 3.0.0-rc.0

Simple, minimal-dependency HTTP client
Documentation
1
2
3
4
5
6
7
//! This is a simple example to demonstrate the usage of this library.

fn main() -> Result<(), minreq::Error> {
    let response = minreq::get("http://example.com").send()?;
    println!("{}", response.as_str()?);
    Ok(())
}