Function get_with_query

Source
pub async fn get_with_query<T, E, P>(
    url: &str,
    query_params: &P,
) -> Result<T, E>
Expand description

Performs an HTTP GET request.

ยงArguments

  • url - The URL to send the request to
  • query_params - Query parameters for the URL. Pass &None::<()> to send request without query parameters