Function apiety::get_body [] [src]

pub fn get_body<T: Endpoint>(endpoint: &T) -> Result<String, Error>

Sends a request and returns the response body in a String