[−][src]Function grin_api::client::post_no_ret
pub fn post_no_ret<IN>(
url: &str,
api_secret: Option<String>,
input: &IN
) -> Result<(), Error> where
IN: Serialize,
Helper function to easily issue a HTTP POST request with the provided JSON object as body on a given URL that returns nothing. Handles request building, JSON serialization, and response code checking.