pub async fn get_json( client: &Client, url: &str, allowed: &[&str], ) -> Result<Value>
Fetch a JSON document, requiring 200 and an acceptable content type.