Function ureq::request[][src]

pub fn request<M, S>(method: M, path: S) -> Request where
    M: Into<String>,
    S: Into<String>, 

Make a request setting the HTTP method via a string.

ureq::request("GET", "https://www.google.com").call();