async fn json_resp(client: &Client, url: &str) -> Result<HashMap<String, String>, Box<dyn std::error::Error>> {
    let resp = client.get(url)
        .send()
        .await?
        .json::<HashMap<String, String>>()
        .await?;
    Ok(resp)
}
/// Make a request to the specified `url` and returns a `HashMap` containing the JSON response.
Make a request to the specified `url` and returns a `HashMap` containing the JSON response.
Make a request to the specified ` url ` and returns a ` HashMap ` containing the JSON response .
async fn json_resp(client: &Client, url: &str) -> Result<HashMap<String, String>, Box<dyn std::error::Error>> {
    let resp = client.get(url)
        .send()
        .await?
        .json::<HashMap<String, String>>()
        .await?;
    Ok(resp)
}
async fn json_resp ( client : & Client , url : & str ) -> Result < HashMap < String , String > , Box < dyn std :: error :: Error > > { let resp = client . get ( url ) . send ( ) . await ? . json :: < HashMap < String , String > > ( ) . await ? ; Ok ( resp ) }
Make a request to the specified `url` and returns a `HashMap` containing the JSON response.
Make a request to the specified ` url ` and returns a ` HashMap ` containing the JSON response .
client
&Client
url
&str
client
&Client
url
&str