[−][src]Function krill::commons::util::httpclient::post_json
pub fn post_json(
uri: &str,
data: impl Serialize,
token: Option<&Token>
) -> Result<(), Error>
Performs a POST of data that can be serialized into json, and expects a 200 OK response, without a body.