pub fn request(
service: &str,
method: &str,
path: &str,
headers: &[(&str, &str)],
body: Option<&[u8]>,
) -> Result<Response, ServerError>Expand description
Sends a request to service, at path under it (such as /v2/check), and waits for its response.
method is GET or POST; only Content-Type and Accept headers are sent. A response of any
status is Ok.