handle json serialization errors
fixes https://github.com/seanmonstar/reqwest/issues/112
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
//!
|
||||
//! let client = reqwest::Client::new()?;
|
||||
//! let res = client.post("http://httpbin.org/post")
|
||||
//! .json(&map)
|
||||
//! .json(&map)?
|
||||
//! .send()?;
|
||||
//! # Ok(())
|
||||
//! # }
|
||||
|
||||
Reference in New Issue
Block a user