(server_url: &str, path: &str)
| 3 | } |
| 4 | |
| 5 | fn service_get_bytes(server_url: &str, path: &str) -> anyhow::Result<Vec<u8>> { |
| 6 | http_request(server_url, "GET", path, None) |
| 7 | } |
| 8 | |
| 9 | fn service_post_bytes(server_url: &str, path: &str, body: &Value) -> anyhow::Result<Vec<u8>> { |
| 10 | http_request(server_url, "POST", path, Some(body)) |
no test coverage detected