Allow unsized types in query, form and json

This commit is contained in:
Oliver Schneider
2018-02-01 14:44:39 +01:00
parent f71504c15d
commit f0b774960d
4 changed files with 19 additions and 6 deletions

9
examples/form.rs Normal file
View File

@@ -0,0 +1,9 @@
extern crate reqwest;
fn main() {
reqwest::Client::new()
.post("http://www.baidu.com")
.form(&[("one", "1")])
.send()
.unwrap();
}