pub fn create_json_post(url: &str, path: &str, d: &str) -> Result<Request<Body>>
Expand description

Creates a simple HTTP POST request with JSON header and body.