async fn request_with_body( method: Method, path: &str, rest_url: Option<&str>, api_key: Option<&str>, timeout_secs: u64, json_body: Option<Value>, ) -> Result<String>