get_body_as_string

Function get_body_as_string 

Source
pub async fn get_body_as_string(url: impl AsRef<str>) -> Result<String, Error>
Expand description

Get a url and return the body of the response as a string.