pub async fn put_request<T>( api_key: &str, url: &str, body: T, ) -> Result<Response, Error>where T: Debug + Serialize,
A function for sending PUT requests to a specified url using the reqwest client.