We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c38420 commit 970cf3dCopy full SHA for 970cf3d
tests/common/client.rs
@@ -177,6 +177,12 @@ impl Client {
177
pub async fn ban_user(&self, username: Username) -> TextResponse {
178
self.http_client.delete(&format!("/user/ban/{}", &username.value)).await
179
}
180
+
181
+ // Context: proxy
182
183
+ pub async fn get_image_by_url(&self, url: &str) -> TextResponse {
184
+ self.http_client.get(&format!("/proxy/image/{url}"), Query::empty()).await
185
+ }
186
187
188
/// Generic HTTP Client
0 commit comments