| use graphene_core::Ctx; | |
| async fn get_request(_: impl Ctx, url: String) -> reqwest::Response { | |
| reqwest::get(url).await.unwrap() | |
| } | |
| async fn post_request(_: impl Ctx, url: String, body: String) -> reqwest::Response { | |
| reqwest::Client::new().post(url).body(body).send().await.unwrap() | |
| } | |