Files
reqwest-impersonate/examples/form.rs
Sean McArthur 87a09322d6 Make the async Client default (#626)
The previously default Client is moved to `reqwest::blocking`, while the
async client becomes the main API.

Closes #622
2019-09-09 17:20:51 -07:00

10 lines
181 B
Rust

#[tokio::main]
async fn main() {
reqwest::Client::new()
.post("http://www.baidu.com")
.form(&[("one", "1")])
.send()
.await
.unwrap();
}