Skip to main content

fetch_json

Function fetch_json 

Source
pub(super) async fn fetch_json<T: DeserializeOwned>(
    client: &Client,
    url: &str,
) -> Result<T, ApiError>
Expand description

GET of a small JSON body from a URL this server chose to reach.