Allow unsized types in query, form and json
This commit is contained in:
9
examples/form.rs
Normal file
9
examples/form.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
extern crate reqwest;
|
||||
|
||||
fn main() {
|
||||
reqwest::Client::new()
|
||||
.post("http://www.baidu.com")
|
||||
.form(&[("one", "1")])
|
||||
.send()
|
||||
.unwrap();
|
||||
}
|
||||
Reference in New Issue
Block a user